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
Ai
ygopro-222DIY-cards
Commits
e5215649
Commit
e5215649
authored
Jul 21, 2019
by
大崎甜花
Committed by
GitHub
Jul 21, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from purerosefallen/master
Pre-Backup
parents
d584cf7c
0fb03c4a
Changes
26
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
239 additions
and
227 deletions
+239
-227
expansions/script/c1110114.lua
expansions/script/c1110114.lua
+0
-2
expansions/script/c11200004.lua
expansions/script/c11200004.lua
+4
-4
expansions/script/c11200018.lua
expansions/script/c11200018.lua
+1
-2
expansions/script/c11200103.lua
expansions/script/c11200103.lua
+1
-1
expansions/script/c17050932.lua
expansions/script/c17050932.lua
+1
-4
expansions/script/c33310008.lua
expansions/script/c33310008.lua
+1
-1
expansions/script/c37564330.lua
expansions/script/c37564330.lua
+4
-1
expansions/script/c37564918.lua
expansions/script/c37564918.lua
+4
-3
expansions/script/c47570400.lua
expansions/script/c47570400.lua
+175
-178
expansions/script/c65010107.lua
expansions/script/c65010107.lua
+1
-1
expansions/script/c65010124.lua
expansions/script/c65010124.lua
+1
-1
expansions/script/c65020025.lua
expansions/script/c65020025.lua
+2
-2
expansions/script/c77765000.lua
expansions/script/c77765000.lua
+8
-1
expansions/script/c77765004.lua
expansions/script/c77765004.lua
+1
-1
expansions/script/c81011111.lua
expansions/script/c81011111.lua
+2
-4
expansions/script/c81041000.lua
expansions/script/c81041000.lua
+1
-1
expansions/script/c81041006.lua
expansions/script/c81041006.lua
+2
-2
expansions/script/c9980193.lua
expansions/script/c9980193.lua
+2
-3
expansions/script/c9980573.lua
expansions/script/c9980573.lua
+2
-2
expansions/script/c9980590.lua
expansions/script/c9980590.lua
+1
-2
expansions/script/c9980599.lua
expansions/script/c9980599.lua
+1
-0
expansions/script/c9980614.lua
expansions/script/c9980614.lua
+1
-1
expansions/script/c9980706.lua
expansions/script/c9980706.lua
+0
-1
expansions/script/c9980710.lua
expansions/script/c9980710.lua
+0
-4
expansions/script/c9980717.lua
expansions/script/c9980717.lua
+23
-5
ygopro.exe
ygopro.exe
+0
-0
No files found.
expansions/script/c1110114.lua
View file @
e5215649
...
@@ -97,7 +97,6 @@ function c1110114.op3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -97,7 +97,6 @@ function c1110114.op3(e,tp,eg,ep,ev,re,r,rp)
while
tc
do
while
tc
do
tc
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_SPIRIT
,
ATTRIBUTE_LIGHT
,
RACE_PSYCHO
,
3
,
0
,
0
)
tc
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_SPIRIT
,
ATTRIBUTE_LIGHT
,
RACE_PSYCHO
,
3
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
AddMonsterAttributeComplete
()
local
e3_2
=
Effect
.
CreateEffect
(
c
)
local
e3_2
=
Effect
.
CreateEffect
(
c
)
e3_2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3_2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3_2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3_2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
@@ -110,7 +109,6 @@ function c1110114.op3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -110,7 +109,6 @@ function c1110114.op3(e,tp,eg,ep,ev,re,r,rp)
local
nc
=
ng
:
GetFirst
()
local
nc
=
ng
:
GetFirst
()
nc
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_SPIRIT
,
ATTRIBUTE_LIGHT
,
RACE_PSYCHO
,
3
,
0
,
0
)
nc
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_SPIRIT
,
ATTRIBUTE_LIGHT
,
RACE_PSYCHO
,
3
,
0
,
0
)
Duel
.
SpecialSummonStep
(
nc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
nc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
nc
:
AddMonsterAttributeComplete
()
local
e3_2
=
Effect
.
CreateEffect
(
c
)
local
e3_2
=
Effect
.
CreateEffect
(
c
)
e3_2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3_2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3_2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3_2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
expansions/script/c11200004.lua
View file @
e5215649
...
@@ -184,15 +184,15 @@ function c11200004.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -184,15 +184,15 @@ function c11200004.tdop(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
sg
=
tg
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
sg
=
tg
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
sg
:
GetCount
()
==
tg
:
GetCount
()
and
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
if
sg
:
GetCount
()
==
tg
:
GetCount
()
and
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
sg
:
AddCard
(
e
:
GetHandler
())
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
+
REASON_RETURN
)
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
+
REASON_RETURN
)
end
end
end
end
function
c11200004
.
retg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c11200004
.
retg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
+
LOCATION_GRAVE
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
1
,
e
:
GetHandler
())
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
1
,
e
:
GetHandler
())
and
e
:
GetHandler
():
IsAbleToRemove
()
end
and
e
:
GetHandler
():
IsAbleToRemove
()
end
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
1
,
3
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
1
,
3
,
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c11200004
.
reop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11200004
.
reop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c11200018.lua
View file @
e5215649
...
@@ -125,11 +125,10 @@ function c11200018.op2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -125,11 +125,10 @@ function c11200018.op2(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
sg
:
GetFirst
()
local
tc
=
sg
:
GetFirst
()
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_LIGHT
,
RACE_BEAST
,
4
,
1100
,
1100
)
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_LIGHT
,
RACE_BEAST
,
4
,
1100
,
1100
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
end
end
--
--
function
c11200018
.
efilter2_2
(
e
,
re
)
function
c11200018
.
efilter2_2
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
end
\ No newline at end of file
expansions/script/c11200103.lua
View file @
e5215649
...
@@ -7,7 +7,7 @@ function c11200103.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c11200103.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
11200103
)
e1
:
SetCountLimit
(
1
,
11200103
)
e1
:
SetCondition
(
c11200103
.
con
)
e1
:
SetCondition
(
c11200103
.
con
)
...
...
expansions/script/c17050932.lua
View file @
e5215649
...
@@ -59,11 +59,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,11 +59,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
zone
=
e
:
GetHandler
():
GetLinkedZone
(
tp
)
local
zone
=
e
:
GetHandler
():
GetLinkedZone
(
tp
)
local
lt
=
c
:
GetLinkedGroupCount
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
tp
,
LOCATION_REASON_TOFIELD
,
zone
)
local
ft
=
2
-
lt
if
c
:
GetSequence
()
>
4
then
ft
=
3
-
lt
end
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
,
zone
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
,
zone
)
if
tg
:
GetCount
()
==
0
or
ft
<=
0
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
while
tg
:
GetCount
()
>
0
and
ft
>
0
do
while
tg
:
GetCount
()
>
0
and
ft
>
0
do
...
...
expansions/script/c33310008.lua
View file @
e5215649
...
@@ -3,7 +3,7 @@ if not pcall(function() require("expansions/script/c33310023") end) then require
...
@@ -3,7 +3,7 @@ if not pcall(function() require("expansions/script/c33310023") end) then require
local
m
=
33310008
local
m
=
33310008
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
EnableUnsummonable
()
--
c:EnableUnsummonable()
--pendulum summon
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
,
true
)
aux
.
EnablePendulumAttribute
(
c
,
true
)
--to hand
--to hand
...
...
expansions/script/c37564330.lua
View file @
e5215649
...
@@ -50,8 +50,11 @@ function cm.rcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,8 +50,11 @@ function cm.rcon(e,tp,eg,ep,ev,re,r,rp)
and
(
r
&
REASON_COST
)
~=
0
and
re
:
IsHasType
(
0x7e0
)
and
re
:
IsActiveType
(
TYPE_XYZ
)
and
(
r
&
REASON_COST
)
~=
0
and
re
:
IsHasType
(
0x7e0
)
and
re
:
IsActiveType
(
TYPE_XYZ
)
end
end
function
cm
.
rop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
rop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
min
=
ev
&
0xffff
local
max
=
(
ev
>>
16
)
&
0xffff
Duel
.
Hint
(
HINT_CARD
,
0
,
e
:
GetHandler
():
GetOriginalCode
())
Duel
.
Hint
(
HINT_CARD
,
0
,
e
:
GetHandler
():
GetOriginalCode
())
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
0x1fe1000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
0x1fe1000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
return
max
end
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsContains
(
e
:
GetHandler
())
return
eg
:
IsContains
(
e
:
GetHandler
())
...
@@ -169,4 +172,4 @@ function cm.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -169,4 +172,4 @@ function cm.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
te
:
SetLabelObject
(
e
:
GetLabelObject
())
te
:
SetLabelObject
(
e
:
GetLabelObject
())
e
:
SetLabelObject
(
te
)
e
:
SetLabelObject
(
te
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
0
,
0
,
0
)
end
end
\ No newline at end of file
expansions/script/c37564918.lua
View file @
e5215649
...
@@ -78,10 +78,11 @@ function cm.rcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,10 +78,11 @@ function cm.rcon(e,tp,eg,ep,ev,re,r,rp)
return
(
r
&
REASON_COST
)
~=
0
and
re
:
GetHandler
()
==
e
:
GetHandler
()
and
re
:
IsHasType
(
0x7e0
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
retfilter
,
tp
,
LOCATION_REMOVED
,
0
,
ct
,
nil
)
return
(
r
&
REASON_COST
)
~=
0
and
re
:
GetHandler
()
==
e
:
GetHandler
()
and
re
:
IsHasType
(
0x7e0
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
retfilter
,
tp
,
LOCATION_REMOVED
,
0
,
ct
,
nil
)
end
end
function
cm
.
rop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
rop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
(
ev
&
0xffff
)
local
min
=
ev
&
0xffff
local
max
=
(
ev
>>
16
)
&
0xffff
Duel
.
Hint
(
HINT_CARD
,
0
,
e
:
GetOwner
():
GetOriginalCode
())
Duel
.
Hint
(
HINT_CARD
,
0
,
e
:
GetOwner
():
GetOriginalCode
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
retfilter
,
tp
,
LOCATION_REMOVED
,
0
,
ct
,
ct
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
retfilter
,
tp
,
LOCATION_REMOVED
,
0
,
min
,
max
,
nil
)
local
des
=
g
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
)
and
0
or
2
local
des
=
g
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
)
and
0
or
2
Duel
.
SendtoDeck
(
g
,
nil
,
des
,
REASON_COST
)
return
Duel
.
SendtoDeck
(
g
,
nil
,
des
,
REASON_COST
)
end
end
expansions/script/c47570400.lua
View file @
e5215649
This diff is collapsed.
Click to expand it.
expansions/script/c65010107.lua
View file @
e5215649
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c65010107
.
initial_effect
(
c
)
function
c65010107
.
initial_effect
(
c
)
--activate
--activate
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetDescription
(
aux
.
Stringid
(
65010107
,
1
))
e0
:
SetDescription
(
aux
.
Stringid
(
65010107
,
0
))
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
...
...
expansions/script/c65010124.lua
View file @
e5215649
...
@@ -37,7 +37,7 @@ function c65010124.initial_effect(c)
...
@@ -37,7 +37,7 @@ function c65010124.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c65010124
.
notgtg
(
e
,
c
)
function
c65010124
.
notgtg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9da0
)
and
not
c
=
=
e
:
GetHandler
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9da0
)
and
c
~
=
e
:
GetHandler
()
end
end
function
c65010124
.
atkcon
(
e
)
function
c65010124
.
atkcon
(
e
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
...
...
expansions/script/c65020025.lua
View file @
e5215649
...
@@ -66,7 +66,7 @@ function c65020025.detg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -66,7 +66,7 @@ function c65020025.detg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
function
c65020025
.
delimit
(
e
,
ep
,
tp
)
function
c65020025
.
delimit
(
e
,
ep
,
tp
)
return
ep
==
tp
and
not
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
ep
==
tp
end
end
function
c65020025
.
deop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65020025
.
deop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_SZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_SZONE
,
1
,
1
,
nil
)
...
@@ -83,7 +83,7 @@ function c65020025.wintg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -83,7 +83,7 @@ function c65020025.wintg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c65020025
.
winop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65020025
.
winop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
local
num
=
e
:
GetHandler
():
GetCounter
(
0x11da
)
>
0
local
num
=
e
:
GetHandler
():
GetCounter
(
0x11da
)
local
lp
=
Duel
.
GetLP
(
1
-
tp
)
local
lp
=
Duel
.
GetLP
(
1
-
tp
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x11da
,
num
,
REASON_EFFECT
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x11da
,
num
,
REASON_EFFECT
)
Duel
.
SetLP
(
1
-
tp
,
lp
-
num
*
1000
)
Duel
.
SetLP
(
1
-
tp
,
lp
-
num
*
1000
)
...
...
expansions/script/c77765000.lua
View file @
e5215649
...
@@ -83,9 +83,16 @@ function Kaguya.EquipCommonEffect(c)
...
@@ -83,9 +83,16 @@ function Kaguya.EquipCommonEffect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_
M
ZONE
)
e3
:
SetRange
(
LOCATION_
S
ZONE
)
e3
:
SetValue
(
function
(
e
,
te
)
e3
:
SetValue
(
function
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
)
end
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetValue
(
1
)
c
:
RegisterEffect
(
e3
)
end
end
expansions/script/c77765004.lua
View file @
e5215649
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
end
)
end
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetValue
(
function
(
e
,
c
)
e2
:
SetValue
(
function
(
e
,
c
)
return
c
:
IsControler
(
1
-
e
:
GetHandlerPlayer
())
return
c
and
c
:
IsControler
(
1
-
e
:
GetHandlerPlayer
())
end
)
end
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
expansions/script/c81011111.lua
View file @
e5215649
...
@@ -60,12 +60,10 @@ end
...
@@ -60,12 +60,10 @@ end
function
c81011111
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81011111
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c81011111
.
bafilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c81011111
.
bafilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
g
:
GetCount
()
>
0
then
if
tc
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c81041000.lua
View file @
e5215649
...
@@ -26,7 +26,7 @@ function c81041000.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c81041000.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_DRAW
)
e3
:
SetCategory
(
CATEGORY_DRAW
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetCountLimit
(
1
,
81041000
)
e3
:
SetCountLimit
(
1
,
81041000
+
EFFECT_COUNT_CODE_OATH
)
e3
:
SetCondition
(
c81041000
.
drcon
)
e3
:
SetCondition
(
c81041000
.
drcon
)
e3
:
SetTarget
(
c81041000
.
drtg
)
e3
:
SetTarget
(
c81041000
.
drtg
)
e3
:
SetOperation
(
c81041000
.
drop
)
e3
:
SetOperation
(
c81041000
.
drop
)
...
...
expansions/script/c81041006.lua
View file @
e5215649
...
@@ -57,8 +57,8 @@ function c81041006.costfilter(c)
...
@@ -57,8 +57,8 @@ function c81041006.costfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
GetLevel
()
>
c
:
GetOriginalLevel
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
GetLevel
()
>
c
:
GetOriginalLevel
()
end
end
function
c81041006
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c81041006
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c
4931121
.
costfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c
81041006
.
costfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c
4931121
.
costfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c
81041006
.
costfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c81041006
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c81041006
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9980193.lua
View file @
e5215649
...
@@ -75,15 +75,14 @@ function c9980193.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,15 +75,14 @@ function c9980193.atkop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
def
/
2
)
e2
:
SetValue
(
def
/
2
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetValue
(
c9980193
.
aclimit
)
e3
:
SetValue
(
c9980193
.
aclimit
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
,
tp
)
tc
=
tg
:
GetNext
()
end
end
end
end
function
c9980193
.
aclimit
(
e
,
re
,
tp
)
function
c9980193
.
aclimit
(
e
,
re
,
tp
)
...
...
expansions/script/c9980573.lua
View file @
e5215649
...
@@ -79,7 +79,7 @@ function c9980573.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,7 +79,7 @@ function c9980573.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
if
Duel
.
GetFlagEffect
(
tp
,
9980573
)
~=
0
then
return
end
if
Duel
.
GetFlagEffect
(
tp
,
9980573
)
~=
0
then
return
end
--extra summon
--extra summon
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetDescription
(
aux
.
Stringid
(
9980573
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
9980573
,
0
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -87,7 +87,7 @@ function c9980573.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,7 +87,7 @@ function c9980573.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e2
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xcbca
))
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xcbca
))
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e2
,
tp
)
tc
:
RegisterEffect
(
e2
)
Duel
.
RegisterFlagEffect
(
tp
,
9980573
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
9980573
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c9980573
.
filter1
(
c
,
e
,
tp
)
function
c9980573
.
filter1
(
c
,
e
,
tp
)
...
...
expansions/script/c9980590.lua
View file @
e5215649
...
@@ -24,7 +24,7 @@ function c9980590.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c9980590.initial_effect(c)
e3
:
SetTarget
(
c9980590
.
tg
)
e3
:
SetTarget
(
c9980590
.
tg
)
e3
:
SetOperation
(
c9980590
.
op
)
e3
:
SetOperation
(
c9980590
.
op
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--to hand
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
9980590
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
9980590
,
0
))
e2
:
SetCategory
(
CATEGORY_TODECK
)
e2
:
SetCategory
(
CATEGORY_TODECK
)
...
@@ -79,7 +79,6 @@ function c9980590.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,7 +79,6 @@ function c9980590.op(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
function
c9980590
.
filter1
(
e
,
c
)
function
c9980590
.
filter1
(
e
,
c
)
return
c
:
IsSetCard
(
0x6bca
)
return
c
:
IsSetCard
(
0x6bca
)
...
...
expansions/script/c9980599.lua
View file @
e5215649
...
@@ -100,6 +100,7 @@ function c9980599.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -100,6 +100,7 @@ function c9980599.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
c9980599
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9980599
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
...
...
expansions/script/c9980614.lua
View file @
e5215649
...
@@ -64,7 +64,7 @@ function c9980614.atkfilter(c)
...
@@ -64,7 +64,7 @@ function c9980614.atkfilter(c)
return
c
:
IsSetCard
(
0x6bcb
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x6bcb
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c9980614
.
atkup
(
e
,
c
)
function
c9980614
.
atkup
(
e
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
c9980614
.
atkfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c9980614
.
atkfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
nil
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
*
100
return
g
:
GetClassCount
(
Card
.
GetCode
)
*
100
end
end
function
c9980614
.
eqfilter
(
c
)
function
c9980614
.
eqfilter
(
c
)
...
...
expansions/script/c9980706.lua
View file @
e5215649
--戈尔贡三姐妹
--戈尔贡三姐妹
function
c9980706
.
initial_effect
(
c
)
function
c9980706
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--splimit
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c9980710.lua
View file @
e5215649
...
@@ -30,7 +30,6 @@ function c9980710.initial_effect(c)
...
@@ -30,7 +30,6 @@ function c9980710.initial_effect(c)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCode
(
EFFECT_SELF_DESTROY
)
e2
:
SetCode
(
EFFECT_SELF_DESTROY
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c9980710
.
effcon
)
e2
:
SetTarget
(
c9980710
.
filter
)
e2
:
SetTarget
(
c9980710
.
filter
)
e2
:
SetValue
(
aux
.
TRUE
)
e2
:
SetValue
(
aux
.
TRUE
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -62,9 +61,6 @@ function c9980710.counter(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,9 +61,6 @@ function c9980710.counter(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
AddCounter
(
0x1009
,
ct
)
e
:
GetHandler
():
AddCounter
(
0x1009
,
ct
)
end
end
end
end
function
c9980710
.
effcon
(
e
)
return
e
:
GetHandler
():
GetOverlayCount
()
>
0
end
function
c9980710
.
filter
(
e
,
c
)
function
c9980710
.
filter
(
e
,
c
)
return
(
c
:
IsAttackBelow
(
500
)
or
c
:
IsDefenseBelow
(
500
))
and
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0xbc8
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
:
IsDestructable
()
return
(
c
:
IsAttackBelow
(
500
)
or
c
:
IsDefenseBelow
(
500
))
and
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0xbc8
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
:
IsDestructable
()
end
end
...
...
expansions/script/c9980717.lua
View file @
e5215649
--丁玲丁玲
--丁玲丁玲
function
c9980717
.
initial_effect
(
c
)
function
c9980717
.
initial_effect
(
c
)
--Activate
--Activate
local
e
1
=
Effect
.
CreateEffect
(
c
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e
3
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e
1
:
SetCode
(
EVENT_FREE_CHAIN
)
e
3
:
SetCode
(
EVENT_FREE_CHAIN
)
e
1
:
SetOperation
(
c9980717
.
sumsuc
)
e
3
:
SetOperation
(
c9980717
.
sumsuc
)
c
:
RegisterEffect
(
e
1
)
c
:
RegisterEffect
(
e
3
)
--
--
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -14,6 +14,14 @@ function c9980717.initial_effect(c)
...
@@ -14,6 +14,14 @@ function c9980717.initial_effect(c)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetValue
(
500
)
e3
:
SetValue
(
500
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--chain
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetOperation
(
c9980717
.
chop
)
c
:
RegisterEffect
(
e1
)
--draw
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
9980717
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
9980717
,
0
))
...
@@ -52,6 +60,16 @@ function c9980717.chop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,6 +60,16 @@ function c9980717.chop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
end
end
end
end
function
c9980717
.
chop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetCurrentChain
()
if
ct
==
1
then
e
:
SetLabel
(
0
)
elseif
not
Duel
.
CheckChainUniqueness
()
then
e
:
SetLabel
(
2
)
elseif
ct
>=
3
and
e
:
GetLabel
()
~=
2
then
e
:
SetLabel
(
1
)
end
end
function
c9980717
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9980717
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
res
=
e
:
GetLabelObject
():
GetLabel
()
local
res
=
e
:
GetLabelObject
():
GetLabel
()
e
:
GetLabelObject
():
SetLabel
(
0
)
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
ygopro.exe
View file @
e5215649
No preview for this file type
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