Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Soulgamer
ygopro-222DIY-cards
Commits
56cf65e6
Commit
56cf65e6
authored
Jul 08, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
a5c25c38
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
expansions/script/c12045012.lua
expansions/script/c12045012.lua
+15
-2
expansions/script/c17061310.lua
expansions/script/c17061310.lua
+1
-1
expansions/script/c53701009.lua
expansions/script/c53701009.lua
+1
-1
No files found.
expansions/script/c12045012.lua
View file @
56cf65e6
...
...
@@ -50,10 +50,23 @@ function cm.cptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
end
function
cm
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
then
return
end
local
tt
=
Duel
.
GetFirstMatchingCard
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
())
local
code
=
tt
:
GetOriginalCode
()
e
:
GetHandler
():
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
local
cp
=
{}
local
temp
=
Card
.
RegisterEffect
Card
.
RegisterEffect
=
function
(
tc
,
e
,
f
)
if
(
e
:
GetRange
()
&
LOCATION_PZONE
)
>
0
and
not
e
:
IsHasProperty
(
EFFECT_FLAG_UNCOPYABLE
)
then
table.insert
(
cp
,
e
:
Clone
())
end
return
temp
(
tc
,
e
,
f
)
end
Duel
.
CreateToken
(
tp
,
tt
:
GetOriginalCode
())
for
i
,
v
in
ipairs
(
cp
)
do
temp
(
c
,
v
)
v
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
end
Card
.
RegisterEffect
=
temp
end
function
cm
.
chainfilter
(
re
,
tp
,
cid
)
return
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
...
...
expansions/script/c17061310.lua
View file @
56cf65e6
...
...
@@ -23,7 +23,7 @@ function cm.rpcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
end
function
cm
.
rpfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x7f6
)
and
(
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0x7f6
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
(
not
c
:
IsForbidden
()
or
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
end
function
cm
.
rptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c53701009.lua
View file @
56cf65e6
...
...
@@ -54,7 +54,7 @@ function c53701009.rmop(e,tp,eg,ep,ev,re,r,rp)
local
ag
=
Duel
.
GetMatchingGroup
(
c53701009
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
ag
:
Sub
(
lg
)
if
ag
:
GetCount
()
==
0
then
return
end
Duel
.
SendtoGrave
(
ag
,
REASON_EFFECT
)
Duel
.
Destroy
(
ag
,
REASON_EFFECT
)
end
function
c53701009
.
value
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
c
:
GetControler
(),
0
,
LOCATION_GRAVE
,
nil
,
TYPE_MONSTER
)
*
200
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment