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
92fede62
Commit
92fede62
authored
Dec 03, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
950e0055
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
223 additions
and
210 deletions
+223
-210
expansions/script/c16105020.lua
expansions/script/c16105020.lua
+1
-1
expansions/script/c17060830.lua
expansions/script/c17060830.lua
+1
-0
expansions/script/c17061260.lua
expansions/script/c17061260.lua
+1
-0
expansions/script/c20100340.lua
expansions/script/c20100340.lua
+1
-0
expansions/script/c40009754.lua
expansions/script/c40009754.lua
+1
-1
expansions/script/c47501010.lua
expansions/script/c47501010.lua
+1
-0
expansions/script/c47510229.lua
expansions/script/c47510229.lua
+94
-93
expansions/script/c47510231.lua
expansions/script/c47510231.lua
+115
-114
expansions/script/c47578932.lua
expansions/script/c47578932.lua
+1
-0
expansions/script/c50221130.lua
expansions/script/c50221130.lua
+1
-0
expansions/script/c65060039.lua
expansions/script/c65060039.lua
+1
-0
expansions/script/c65060050.lua
expansions/script/c65060050.lua
+1
-0
expansions/script/c81012070.lua
expansions/script/c81012070.lua
+1
-0
expansions/script/c81012089.lua
expansions/script/c81012089.lua
+1
-0
expansions/script/c82224039.lua
expansions/script/c82224039.lua
+2
-1
No files found.
expansions/script/c16105020.lua
View file @
92fede62
...
...
@@ -55,7 +55,7 @@ function cm.chop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
1
,
0
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
,
29432356
)
e3
:
SetValue
(
cm
.
pendvalue
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e3
,
tp
)
...
...
expansions/script/c17060830.lua
View file @
92fede62
...
...
@@ -16,6 +16,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
cm
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c17061260.lua
View file @
92fede62
...
...
@@ -136,6 +136,7 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
cm
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c20100340.lua
View file @
92fede62
...
...
@@ -71,6 +71,7 @@ function cm.addop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
cm
.
pendvalue
)
e2
:
SetReset
(
C9
.
E_Reset
)
...
...
expansions/script/c40009754.lua
View file @
92fede62
...
...
@@ -59,7 +59,7 @@ function cm.penop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetCountLimit
(
1
,
40009754
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetValue
(
cm
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
...
...
expansions/script/c47501010.lua
View file @
92fede62
...
...
@@ -144,6 +144,7 @@ function c47501010.thop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
c47501010
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c47510229.lua
View file @
92fede62
...
...
@@ -2,121 +2,122 @@
local
m
=
47510229
local
cm
=
_G
[
"c"
..
m
]
function
c47510229
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--summon with 1 tribute
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c47510229
.
otcon
)
e1
:
SetOperation
(
c47510229
.
otop
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_PROC
)
c
:
RegisterEffect
(
e2
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
47510229
)
e2
:
SetCondition
(
c47510229
.
thcon
)
e2
:
SetOperation
(
c47510229
.
thop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetValue
(
c47510229
.
efilter2
)
c
:
RegisterEffect
(
e3
)
--special summon
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
47510229
,
1
))
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
c47510229
.
spcon
)
e4
:
SetCost
(
c47510229
.
spcost
)
e4
:
SetOperation
(
c47510229
.
spop
)
c
:
RegisterEffect
(
e4
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--summon with 1 tribute
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c47510229
.
otcon
)
e1
:
SetOperation
(
c47510229
.
otop
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_PROC
)
c
:
RegisterEffect
(
e2
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
47510229
)
e2
:
SetCondition
(
c47510229
.
thcon
)
e2
:
SetOperation
(
c47510229
.
thop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetValue
(
c47510229
.
efilter2
)
c
:
RegisterEffect
(
e3
)
--special summon
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
47510229
,
1
))
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
c47510229
.
spcon
)
e4
:
SetCost
(
c47510229
.
spcost
)
e4
:
SetOperation
(
c47510229
.
spop
)
c
:
RegisterEffect
(
e4
)
end
function
c47510229
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_MONSTER
)
and
te
:
GetOwner
():
IsType
(
TYPE_LINK
)
return
te
:
IsActiveType
(
TYPE_MONSTER
)
and
te
:
GetOwner
():
IsType
(
TYPE_LINK
)
end
function
c47510229
.
otfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
function
c47510229
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c47510229
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
IsLevelAbove
(
7
)
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c47510229
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
IsLevelAbove
(
7
)
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
function
c47510229
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c47510229
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
local
mg
=
Duel
.
GetMatchingGroup
(
c47510229
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c47510229
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc1
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
0
)
local
tc2
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
1
)
if
not
tc1
or
not
tc2
or
not
tc1
:
IsSetCard
(
0x5de
)
or
not
tc2
:
IsSetCard
(
0x5de
)
then
return
false
end
local
scl1
=
tc1
:
GetLeftScale
()
local
scl2
=
tc2
:
GetRightScale
()
if
scl1
>
scl2
then
scl1
,
scl2
=
scl2
,
scl1
end
return
scl1
==
1
and
scl2
==
13
local
tc1
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
0
)
local
tc2
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
1
)
if
not
tc1
or
not
tc2
or
not
tc1
:
IsSetCard
(
0x5de
)
or
not
tc2
:
IsSetCard
(
0x5de
)
then
return
false
end
local
scl1
=
tc1
:
GetLeftScale
()
local
scl2
=
tc2
:
GetRightScale
()
if
scl1
>
scl2
then
scl1
,
scl2
=
scl2
,
scl1
end
return
scl1
==
1
and
scl2
==
13
end
function
c47510229
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
and
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FAIRY
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
and
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FAIRY
)
end
function
c47510229
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetMatchingGroupCount
(
c47510229
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
tg
=
Duel
.
GetMatchingGroup
(
c47510229
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
g
=
nil
if
tg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
g
=
tg
:
Select
(
tp
,
ft
,
ft
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c47510229
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
ft
=
Duel
.
GetMatchingGroupCount
(
c47510229
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
tg
=
Duel
.
GetMatchingGroup
(
c47510229
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
g
=
nil
if
tg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
g
=
tg
:
Select
(
tp
,
ft
,
ft
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c47510229
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c47510229
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
~=
SUMMON_TYPE_PENDULUM
return
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
~=
SUMMON_TYPE_PENDULUM
end
function
c47510229
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_PENDULUM
)
or
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_PENDULUM
)
or
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
function
c47510229
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c47510229
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
47510229
,
2
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
c47510229
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
c
=
e
:
GetHandler
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
47510229
,
2
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
c47510229
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
c47510229
.
pendvalue
(
e
,
c
)
return
c
:
IsSetCard
(
0x5da
)
or
c
:
IsSetCard
(
0x5de
)
return
c
:
IsSetCard
(
0x5da
)
or
c
:
IsSetCard
(
0x5de
)
end
\ No newline at end of file
expansions/script/c47510231.lua
View file @
92fede62
This diff is collapsed.
Click to expand it.
expansions/script/c47578932.lua
View file @
92fede62
...
...
@@ -58,6 +58,7 @@ function c47578932.penop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
c47578932
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c50221130.lua
View file @
92fede62
...
...
@@ -106,6 +106,7 @@ function c50221130.expop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCountLimit
(
1
,
29432356
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetValue
(
aux
.
TRUE
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c65060039.lua
View file @
92fede62
...
...
@@ -59,6 +59,7 @@ function c65060039.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCountLimit
(
1
,
29432356
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetValue
(
aux
.
TargetBoolFunction
(
Card
.
IsType
,
TYPE_DUAL
))
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c65060050.lua
View file @
92fede62
...
...
@@ -74,6 +74,7 @@ function c65060050.expop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCountLimit
(
1
,
29432356
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetValue
(
aux
.
TRUE
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c81012070.lua
View file @
92fede62
...
...
@@ -40,6 +40,7 @@ function cm.expop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCountLimit
(
1
,
29432356
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetValue
(
cm
.
pendvalue
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c81012089.lua
View file @
92fede62
...
...
@@ -64,6 +64,7 @@ function c81012089.penop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
c81012089
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c82224039.lua
View file @
92fede62
...
...
@@ -34,7 +34,8 @@ function cm.penop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_PENDULUM_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCountLimit
(
1
,
29432356
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
cm
.
pendvalue
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
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