Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
08026f36
Commit
08026f36
authored
Apr 12, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #737 from salix5/patch
fix: EVENT_BATTLE_END
parents
86fb6525
b0dde1ce
Changes
91
Hide whitespace changes
Inline
Side-by-side
Showing
91 changed files
with
93 additions
and
92 deletions
+93
-92
script/c10032958.lua
script/c10032958.lua
+1
-1
script/c10509340.lua
script/c10509340.lua
+1
-1
script/c12296376.lua
script/c12296376.lua
+1
-1
script/c12670770.lua
script/c12670770.lua
+1
-0
script/c12817939.lua
script/c12817939.lua
+1
-1
script/c15935204.lua
script/c15935204.lua
+1
-1
script/c16008155.lua
script/c16008155.lua
+1
-1
script/c16516630.lua
script/c16516630.lua
+1
-1
script/c16909657.lua
script/c16909657.lua
+1
-1
script/c17313545.lua
script/c17313545.lua
+1
-1
script/c18013090.lua
script/c18013090.lua
+1
-1
script/c20470500.lua
script/c20470500.lua
+1
-1
script/c22371016.lua
script/c22371016.lua
+1
-1
script/c2250266.lua
script/c2250266.lua
+1
-1
script/c23118924.lua
script/c23118924.lua
+2
-2
script/c23205979.lua
script/c23205979.lua
+1
-1
script/c23274061.lua
script/c23274061.lua
+1
-1
script/c23558733.lua
script/c23558733.lua
+1
-1
script/c24104865.lua
script/c24104865.lua
+1
-1
script/c25345186.lua
script/c25345186.lua
+1
-1
script/c26640671.lua
script/c26640671.lua
+1
-1
script/c27618634.lua
script/c27618634.lua
+1
-1
script/c27927359.lua
script/c27927359.lua
+1
-1
script/c2851070.lua
script/c2851070.lua
+1
-1
script/c30314994.lua
script/c30314994.lua
+1
-1
script/c30353551.lua
script/c30353551.lua
+1
-1
script/c30860696.lua
script/c30860696.lua
+1
-1
script/c31053337.lua
script/c31053337.lua
+1
-1
script/c31173519.lua
script/c31173519.lua
+1
-1
script/c3129635.lua
script/c3129635.lua
+1
-1
script/c31305911.lua
script/c31305911.lua
+1
-1
script/c31632536.lua
script/c31632536.lua
+1
-1
script/c31764700.lua
script/c31764700.lua
+1
-1
script/c32086564.lua
script/c32086564.lua
+1
-1
script/c32240937.lua
script/c32240937.lua
+1
-1
script/c35638627.lua
script/c35638627.lua
+2
-2
script/c35975813.lua
script/c35975813.lua
+1
-1
script/c36042825.lua
script/c36042825.lua
+1
-1
script/c36088082.lua
script/c36088082.lua
+1
-1
script/c37083210.lua
script/c37083210.lua
+1
-1
script/c37957847.lua
script/c37957847.lua
+1
-1
script/c39507162.lua
script/c39507162.lua
+1
-1
script/c41234315.lua
script/c41234315.lua
+1
-1
script/c43426903.lua
script/c43426903.lua
+1
-1
script/c45450218.lua
script/c45450218.lua
+1
-1
script/c45688586.lua
script/c45688586.lua
+1
-1
script/c45711266.lua
script/c45711266.lua
+1
-1
script/c46427957.lua
script/c46427957.lua
+1
-1
script/c48439321.lua
script/c48439321.lua
+1
-1
script/c49202331.lua
script/c49202331.lua
+1
-1
script/c49551909.lua
script/c49551909.lua
+1
-1
script/c50400231.lua
script/c50400231.lua
+1
-1
script/c5284653.lua
script/c5284653.lua
+1
-1
script/c52913738.lua
script/c52913738.lua
+1
-1
script/c5309481.lua
script/c5309481.lua
+1
-1
script/c53982768.lua
script/c53982768.lua
+1
-1
script/c54415063.lua
script/c54415063.lua
+1
-1
script/c54702678.lua
script/c54702678.lua
+1
-1
script/c56921677.lua
script/c56921677.lua
+1
-1
script/c58206034.lua
script/c58206034.lua
+1
-1
script/c58924378.lua
script/c58924378.lua
+1
-1
script/c60930169.lua
script/c60930169.lua
+1
-1
script/c6142213.lua
script/c6142213.lua
+1
-1
script/c62315111.lua
script/c62315111.lua
+1
-1
script/c65079854.lua
script/c65079854.lua
+1
-1
script/c65260293.lua
script/c65260293.lua
+1
-1
script/c66712593.lua
script/c66712593.lua
+1
-1
script/c67030233.lua
script/c67030233.lua
+1
-1
script/c67045174.lua
script/c67045174.lua
+1
-1
script/c68366996.lua
script/c68366996.lua
+1
-1
script/c68427465.lua
script/c68427465.lua
+1
-1
script/c70902743.lua
script/c70902743.lua
+1
-1
script/c71934924.lua
script/c71934924.lua
+1
-1
script/c72167543.lua
script/c72167543.lua
+1
-1
script/c72989439.lua
script/c72989439.lua
+1
-1
script/c73544866.lua
script/c73544866.lua
+1
-1
script/c76372778.lua
script/c76372778.lua
+1
-1
script/c76650663.lua
script/c76650663.lua
+1
-1
script/c77336644.lua
script/c77336644.lua
+1
-1
script/c79965360.lua
script/c79965360.lua
+1
-1
script/c80071763.lua
script/c80071763.lua
+1
-1
script/c80367387.lua
script/c80367387.lua
+1
-1
script/c81000306.lua
script/c81000306.lua
+1
-1
script/c85313220.lua
script/c85313220.lua
+1
-1
script/c85682655.lua
script/c85682655.lua
+1
-1
script/c85684223.lua
script/c85684223.lua
+1
-1
script/c87880531.lua
script/c87880531.lua
+1
-1
script/c88132637.lua
script/c88132637.lua
+1
-1
script/c88283496.lua
script/c88283496.lua
+1
-1
script/c89567993.lua
script/c89567993.lua
+1
-1
script/c92755808.lua
script/c92755808.lua
+1
-1
No files found.
script/c10032958.lua
View file @
08026f36
...
@@ -45,7 +45,7 @@ function c10032958.reg(c,opt)
...
@@ -45,7 +45,7 @@ function c10032958.reg(c,opt)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
10032958
,
2
))
e1
:
SetDescription
(
aux
.
Stringid
(
10032958
,
2
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c10032958
.
atcon
)
e1
:
SetCondition
(
c10032958
.
atcon
)
e1
:
SetOperation
(
c10032958
.
atop
)
e1
:
SetOperation
(
c10032958
.
atop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
...
...
script/c10509340.lua
View file @
08026f36
...
@@ -9,7 +9,7 @@ function c10509340.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c10509340.initial_effect(c)
--disable
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c10509340
.
disop
)
e2
:
SetOperation
(
c10509340
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--actlimit
--actlimit
...
...
script/c12296376.lua
View file @
08026f36
...
@@ -10,7 +10,7 @@ function c12296376.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c12296376.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c12296376
.
operation
)
e2
:
SetOperation
(
c12296376
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
script/c12670770.lua
View file @
08026f36
...
@@ -68,6 +68,7 @@ function c12670770.target1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -68,6 +68,7 @@ function c12670770.target1(e,tp,eg,ep,ev,re,r,rp,chk)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12670770
,
0
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12670770
,
0
))
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
c
:
RegisterFlagEffect
(
12670770
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
12670770
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
0
,
RESET_CHAIN
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
12670770
,
1
))
end
end
end
end
function
c12670770
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12670770
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
script/c12817939.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c12817939.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c12817939.initial_effect(c)
--disable
--disable
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c12817939
.
disop
)
e1
:
SetOperation
(
c12817939
.
disop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c15935204.lua
View file @
08026f36
...
@@ -4,7 +4,7 @@ function c15935204.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c15935204.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetOperation
(
c15935204
.
operation
)
e1
:
SetOperation
(
c15935204
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--damage
--damage
...
...
script/c16008155.lua
View file @
08026f36
...
@@ -25,7 +25,7 @@ function c16008155.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c16008155.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetOperation
(
c16008155
.
desop3
)
e4
:
SetOperation
(
c16008155
.
desop3
)
e4
:
SetLabelObject
(
e2
)
e4
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
...
script/c16516630.lua
View file @
08026f36
...
@@ -43,7 +43,7 @@ function c16516630.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c16516630.operation(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetOperation
(
c16516630
.
desop
)
e3
:
SetOperation
(
c16516630
.
desop
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
...
...
script/c16909657.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c16909657.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c16909657.initial_effect(c)
--special summon
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetOperation
(
c16909657
.
checkop
)
e1
:
SetOperation
(
c16909657
.
checkop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
script/c17313545.lua
View file @
08026f36
...
@@ -12,7 +12,7 @@ function c17313545.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c17313545.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
17313545
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
17313545
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c17313545
.
atcon
)
e2
:
SetCondition
(
c17313545
.
atcon
)
e2
:
SetOperation
(
c17313545
.
atop
)
e2
:
SetOperation
(
c17313545
.
atop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c18013090.lua
View file @
08026f36
...
@@ -24,7 +24,7 @@ function c18013090.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c18013090.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_POSITION
)
e3
:
SetCategory
(
CATEGORY_POSITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetCondition
(
c18013090
.
cacon
)
e3
:
SetCondition
(
c18013090
.
cacon
)
e3
:
SetTarget
(
c18013090
.
catg
)
e3
:
SetTarget
(
c18013090
.
catg
)
e3
:
SetOperation
(
c18013090
.
caop
)
e3
:
SetOperation
(
c18013090
.
caop
)
...
...
script/c20470500.lua
View file @
08026f36
...
@@ -4,7 +4,7 @@ function c20470500.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c20470500.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
20470500
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
20470500
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c20470500
.
condition
)
e1
:
SetCondition
(
c20470500
.
condition
)
e1
:
SetOperation
(
c20470500
.
operation
)
e1
:
SetOperation
(
c20470500
.
operation
)
...
...
script/c22371016.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c22371016.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c22371016.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
22371016
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
22371016
,
0
))
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetTarget
(
c22371016
.
rmtg
)
e1
:
SetTarget
(
c22371016
.
rmtg
)
e1
:
SetOperation
(
c22371016
.
rmop
)
e1
:
SetOperation
(
c22371016
.
rmop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c2250266.lua
View file @
08026f36
...
@@ -38,7 +38,7 @@ function c2250266.initial_effect(c)
...
@@ -38,7 +38,7 @@ function c2250266.initial_effect(c)
e5
:
SetCategory
(
CATEGORY_POSITION
)
e5
:
SetCategory
(
CATEGORY_POSITION
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e5
:
SetCode
(
EVENT_BATTLED
)
e5
:
SetCondition
(
c2250266
.
cond
)
e5
:
SetCondition
(
c2250266
.
cond
)
e5
:
SetTarget
(
c2250266
.
tgd2
)
e5
:
SetTarget
(
c2250266
.
tgd2
)
e5
:
SetOperation
(
c2250266
.
opd2
)
e5
:
SetOperation
(
c2250266
.
opd2
)
...
...
script/c23118924.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c23118924.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c23118924.initial_effect(c)
--disable
--disable
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c23118924
.
discon
)
e1
:
SetCondition
(
c23118924
.
discon
)
e1
:
SetOperation
(
c23118924
.
disop
)
e1
:
SetOperation
(
c23118924
.
disop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -11,7 +11,7 @@ function c23118924.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c23118924.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
23118924
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
23118924
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c23118924
.
atcon
)
e2
:
SetCondition
(
c23118924
.
atcon
)
e2
:
SetOperation
(
c23118924
.
atop
)
e2
:
SetOperation
(
c23118924
.
atop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c23205979.lua
View file @
08026f36
...
@@ -41,7 +41,7 @@ function c23205979.initial_effect(c)
...
@@ -41,7 +41,7 @@ function c23205979.initial_effect(c)
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e6
:
SetCode
(
EVENT_BATTLED
)
e6
:
SetOperation
(
c23205979
.
desop3
)
e6
:
SetOperation
(
c23205979
.
desop3
)
e6
:
SetLabelObject
(
e4
)
e6
:
SetLabelObject
(
e4
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
...
...
script/c23274061.lua
View file @
08026f36
...
@@ -10,7 +10,7 @@ function c23274061.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c23274061.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
23274061
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
23274061
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c23274061
.
condition
)
e2
:
SetCondition
(
c23274061
.
condition
)
e2
:
SetOperation
(
c23274061
.
operation
)
e2
:
SetOperation
(
c23274061
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c23558733.lua
View file @
08026f36
...
@@ -10,7 +10,7 @@ function c23558733.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c23558733.initial_effect(c)
--damage
--damage
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c23558733
.
desop
)
e2
:
SetOperation
(
c23558733
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
script/c24104865.lua
View file @
08026f36
...
@@ -4,7 +4,7 @@ function c24104865.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c24104865.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetOperation
(
c24104865
.
checkop
)
e1
:
SetOperation
(
c24104865
.
checkop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
...
script/c25345186.lua
View file @
08026f36
...
@@ -15,7 +15,7 @@ function c25345186.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c25345186.activate(e,tp,eg,ep,ev,re,r,rp)
--destroy
--destroy
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetOperation
(
c25345186
.
regop
)
e1
:
SetOperation
(
c25345186
.
regop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
script/c26640671.lua
View file @
08026f36
...
@@ -19,7 +19,7 @@ function c26640671.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c26640671.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetOperation
(
c26640671
.
regop
)
e3
:
SetOperation
(
c26640671
.
regop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
script/c27618634.lua
View file @
08026f36
...
@@ -10,7 +10,7 @@ function c27618634.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c27618634.initial_effect(c)
--battled
--battled
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c27618634
.
atop
)
e2
:
SetOperation
(
c27618634
.
atop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
...
script/c27927359.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c27927359.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c27927359.initial_effect(c)
--Disable
--Disable
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c27927359
.
operation
)
e1
:
SetOperation
(
c27927359
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c2851070.lua
View file @
08026f36
...
@@ -15,7 +15,7 @@ function c2851070.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c2851070.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
2851070
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
2851070
,
1
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetTarget
(
c2851070
.
destg
)
e1
:
SetTarget
(
c2851070
.
destg
)
e1
:
SetOperation
(
c2851070
.
desop
)
e1
:
SetOperation
(
c2851070
.
desop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c30314994.lua
View file @
08026f36
...
@@ -13,7 +13,7 @@ function c30314994.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c30314994.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
30314994
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
30314994
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c30314994
.
atcon
)
e2
:
SetCondition
(
c30314994
.
atcon
)
e2
:
SetOperation
(
c30314994
.
atop
)
e2
:
SetOperation
(
c30314994
.
atop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c30353551.lua
View file @
08026f36
...
@@ -22,7 +22,7 @@ function c30353551.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c30353551.initial_effect(c)
c30353551
.
global_check
=
true
c30353551
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
ge1
:
SetCode
(
EVENT_BATTLED
)
ge1
:
SetOperation
(
c30353551
.
checkop
)
ge1
:
SetOperation
(
c30353551
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
...
...
script/c30860696.lua
View file @
08026f36
...
@@ -18,7 +18,7 @@ function c30860696.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c30860696.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
30860696
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
30860696
,
0
))
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetCondition
(
c30860696
.
racon
)
e3
:
SetCondition
(
c30860696
.
racon
)
e3
:
SetOperation
(
c30860696
.
raop
)
e3
:
SetOperation
(
c30860696
.
raop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
...
script/c31053337.lua
View file @
08026f36
...
@@ -30,7 +30,7 @@ function c31053337.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c31053337.initial_effect(c)
e4
:
SetDescription
(
aux
.
Stringid
(
31053337
,
1
))
e4
:
SetDescription
(
aux
.
Stringid
(
31053337
,
1
))
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetOperation
(
c31053337
.
operation2
)
e4
:
SetOperation
(
c31053337
.
operation2
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
...
script/c31173519.lua
View file @
08026f36
...
@@ -4,7 +4,7 @@ function c31173519.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c31173519.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
31173519
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
31173519
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c31173519
.
condition
)
e1
:
SetCondition
(
c31173519
.
condition
)
e1
:
SetOperation
(
c31173519
.
operation
)
e1
:
SetOperation
(
c31173519
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c3129635.lua
View file @
08026f36
...
@@ -27,7 +27,7 @@ function c3129635.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,7 +27,7 @@ function c3129635.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetTarget
(
c3129635
.
destg
)
e1
:
SetTarget
(
c3129635
.
destg
)
e1
:
SetOperation
(
c3129635
.
desop
)
e1
:
SetOperation
(
c3129635
.
desop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
...
...
script/c31305911.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c31305911.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c31305911.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
31305911
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
31305911
,
0
))
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c31305911
.
condition
)
e1
:
SetCondition
(
c31305911
.
condition
)
e1
:
SetTarget
(
c31305911
.
target
)
e1
:
SetTarget
(
c31305911
.
target
)
e1
:
SetOperation
(
c31305911
.
operation
)
e1
:
SetOperation
(
c31305911
.
operation
)
...
...
script/c31632536.lua
View file @
08026f36
...
@@ -6,7 +6,7 @@ function c31632536.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c31632536.initial_effect(c)
--chain attack
--chain attack
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetOperation
(
c31632536
.
caop1
)
e1
:
SetOperation
(
c31632536
.
caop1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
script/c31764700.lua
View file @
08026f36
...
@@ -16,7 +16,7 @@ function c31764700.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c31764700.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetOperation
(
c31764700
.
batop
)
e3
:
SetOperation
(
c31764700
.
batop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
script/c32086564.lua
View file @
08026f36
...
@@ -18,7 +18,7 @@ function c32086564.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c32086564.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
32086564
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
32086564
,
0
))
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTarget
(
c32086564
.
destg
)
e3
:
SetTarget
(
c32086564
.
destg
)
e3
:
SetOperation
(
c32086564
.
desop
)
e3
:
SetOperation
(
c32086564
.
desop
)
...
...
script/c32240937.lua
View file @
08026f36
...
@@ -9,7 +9,7 @@ function c32240937.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c32240937.initial_effect(c)
--negate
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c32240937
.
negop
)
e2
:
SetOperation
(
c32240937
.
negop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
script/c35638627.lua
View file @
08026f36
...
@@ -9,14 +9,14 @@ function c35638627.initial_effect(c)
...
@@ -9,14 +9,14 @@ function c35638627.initial_effect(c)
--Disable
--Disable
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c35638627
.
disop
)
e2
:
SetOperation
(
c35638627
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--chain attack
--chain attack
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
35638627
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
35638627
,
0
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetCondition
(
c35638627
.
atcon
)
e3
:
SetCondition
(
c35638627
.
atcon
)
e3
:
SetOperation
(
c35638627
.
atop
)
e3
:
SetOperation
(
c35638627
.
atop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
...
script/c35975813.lua
View file @
08026f36
...
@@ -28,7 +28,7 @@ function c35975813.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c35975813.initial_effect(c)
--disable
--disable
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e5
:
SetCode
(
EVENT_BATTLED
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetOperation
(
c35975813
.
disop2
)
e5
:
SetOperation
(
c35975813
.
disop2
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
...
...
script/c36042825.lua
View file @
08026f36
...
@@ -27,7 +27,7 @@ function c36042825.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c36042825.initial_effect(c)
e4
:
SetDescription
(
aux
.
Stringid
(
36042825
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
36042825
,
0
))
e4
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e4
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetCondition
(
c36042825
.
drcon
)
e4
:
SetCondition
(
c36042825
.
drcon
)
e4
:
SetTarget
(
c36042825
.
drtg
)
e4
:
SetTarget
(
c36042825
.
drtg
)
...
...
script/c36088082.lua
View file @
08026f36
...
@@ -28,7 +28,7 @@ function c36088082.regop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -28,7 +28,7 @@ function c36088082.regop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetOperation
(
c36088082
.
desop
)
e3
:
SetOperation
(
c36088082
.
desop
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
...
...
script/c37083210.lua
View file @
08026f36
...
@@ -29,7 +29,7 @@ function c37083210.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,7 +29,7 @@ function c37083210.activate(e,tp,eg,ep,ev,re,r,rp)
at
:
RegisterEffect
(
e1
)
at
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c37083210
.
desop
)
e2
:
SetOperation
(
c37083210
.
desop
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
...
...
script/c37957847.lua
View file @
08026f36
...
@@ -12,7 +12,7 @@ function c37957847.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c37957847.initial_effect(c)
--atkup
--atkup
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c37957847
.
atkop
)
e2
:
SetOperation
(
c37957847
.
atkop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
script/c39507162.lua
View file @
08026f36
...
@@ -12,7 +12,7 @@ function c39507162.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c39507162.initial_effect(c)
--disable
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c39507162
.
discon
)
e2
:
SetCondition
(
c39507162
.
discon
)
e2
:
SetOperation
(
c39507162
.
disop
)
e2
:
SetOperation
(
c39507162
.
disop
)
...
...
script/c41234315.lua
View file @
08026f36
...
@@ -35,7 +35,7 @@ function c41234315.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c41234315.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetDescription
(
aux
.
Stringid
(
41234315
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
41234315
,
0
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetOperation
(
c41234315
.
spop
)
e3
:
SetOperation
(
c41234315
.
spop
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
...
...
script/c43426903.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c43426903.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c43426903.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
43426903
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
43426903
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c43426903
.
condition
)
e1
:
SetCondition
(
c43426903
.
condition
)
e1
:
SetOperation
(
c43426903
.
operation
)
e1
:
SetOperation
(
c43426903
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c45450218.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c45450218.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c45450218.initial_effect(c)
--check
--check
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetOperation
(
c45450218
.
checkop
)
e1
:
SetOperation
(
c45450218
.
checkop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--draw
--draw
...
...
script/c45688586.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c45688586.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c45688586.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
45688586
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
45688586
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetTarget
(
c45688586
.
target
)
e1
:
SetTarget
(
c45688586
.
target
)
e1
:
SetOperation
(
c45688586
.
operation
)
e1
:
SetOperation
(
c45688586
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c45711266.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c45711266.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c45711266.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
45711266
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
45711266
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c45711266
.
condition
)
e1
:
SetCondition
(
c45711266
.
condition
)
e1
:
SetTarget
(
c45711266
.
target
)
e1
:
SetTarget
(
c45711266
.
target
)
e1
:
SetOperation
(
c45711266
.
operation
)
e1
:
SetOperation
(
c45711266
.
operation
)
...
...
script/c46427957.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c46427957.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c46427957.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
46427957
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
46427957
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c46427957
.
atcon
)
e1
:
SetCondition
(
c46427957
.
atcon
)
e1
:
SetOperation
(
c46427957
.
atop
)
e1
:
SetOperation
(
c46427957
.
atop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c48439321.lua
View file @
08026f36
...
@@ -11,7 +11,7 @@ function c48439321.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c48439321.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DAMAGE
)
e2
:
SetCategory
(
CATEGORY_DAMAGE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c48439321
.
damcon
)
e2
:
SetCondition
(
c48439321
.
damcon
)
e2
:
SetTarget
(
c48439321
.
damtg
)
e2
:
SetTarget
(
c48439321
.
damtg
)
e2
:
SetOperation
(
c48439321
.
damop
)
e2
:
SetOperation
(
c48439321
.
damop
)
...
...
script/c49202331.lua
View file @
08026f36
...
@@ -18,7 +18,7 @@ function c49202331.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c49202331.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
49202331
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
49202331
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c49202331
.
atcon
)
e2
:
SetCondition
(
c49202331
.
atcon
)
e2
:
SetCost
(
c49202331
.
atcost
)
e2
:
SetCost
(
c49202331
.
atcost
)
e2
:
SetOperation
(
c49202331
.
atop
)
e2
:
SetOperation
(
c49202331
.
atop
)
...
...
script/c49551909.lua
View file @
08026f36
...
@@ -33,7 +33,7 @@ function c49551909.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,7 @@ function c49551909.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetDescription
(
aux
.
Stringid
(
49551909
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
49551909
,
0
))
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCondition
(
c49551909
.
descon
)
e1
:
SetCondition
(
c49551909
.
descon
)
e1
:
SetTarget
(
c49551909
.
destg
)
e1
:
SetTarget
(
c49551909
.
destg
)
...
...
script/c50400231.lua
View file @
08026f36
...
@@ -20,7 +20,7 @@ function c50400231.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c50400231.initial_effect(c)
--atk clear
--atk clear
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetOperation
(
c50400231
.
retop
)
e3
:
SetOperation
(
c50400231
.
retop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
...
...
script/c5284653.lua
View file @
08026f36
...
@@ -4,7 +4,7 @@ function c5284653.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c5284653.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
5284653
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
5284653
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c5284653
.
condition
)
e1
:
SetCondition
(
c5284653
.
condition
)
e1
:
SetOperation
(
c5284653
.
operation
)
e1
:
SetOperation
(
c5284653
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c52913738.lua
View file @
08026f36
...
@@ -21,7 +21,7 @@ end
...
@@ -21,7 +21,7 @@ end
function
c52913738
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52913738
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetOperation
(
c52913738
.
tdop
)
e1
:
SetOperation
(
c52913738
.
tdop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
script/c5309481.lua
View file @
08026f36
...
@@ -6,7 +6,7 @@ function c5309481.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c5309481.initial_effect(c)
--Disable
--Disable
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c5309481
.
operation
)
e1
:
SetOperation
(
c5309481
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c53982768.lua
View file @
08026f36
...
@@ -10,7 +10,7 @@ function c53982768.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c53982768.initial_effect(c)
--Disable
--Disable
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetOperation
(
c53982768
.
operation
)
e2
:
SetOperation
(
c53982768
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c54415063.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c54415063.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c54415063.initial_effect(c)
--atk limit
--atk limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c54415063
.
operation
)
e1
:
SetOperation
(
c54415063
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c54702678.lua
View file @
08026f36
...
@@ -13,7 +13,7 @@ function c54702678.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c54702678.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
54702678
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
54702678
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c54702678
.
discon
)
e2
:
SetCondition
(
c54702678
.
discon
)
e2
:
SetOperation
(
c54702678
.
disop
)
e2
:
SetOperation
(
c54702678
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c56921677.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c56921677.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c56921677.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
56921677
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
56921677
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c56921677
.
condition
)
e1
:
SetCondition
(
c56921677
.
condition
)
e1
:
SetTarget
(
c56921677
.
target
)
e1
:
SetTarget
(
c56921677
.
target
)
e1
:
SetOperation
(
c56921677
.
operation
)
e1
:
SetOperation
(
c56921677
.
operation
)
...
...
script/c58206034.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c58206034.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c58206034.initial_effect(c)
--disable
--disable
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c58206034
.
discon
)
e1
:
SetCondition
(
c58206034
.
discon
)
e1
:
SetOperation
(
c58206034
.
disop
)
e1
:
SetOperation
(
c58206034
.
disop
)
...
...
script/c58924378.lua
View file @
08026f36
...
@@ -8,7 +8,7 @@ function c58924378.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c58924378.initial_effect(c)
--atk down
--atk down
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetOperation
(
c58924378
.
atkdn
)
e2
:
SetOperation
(
c58924378
.
atkdn
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c60930169.lua
View file @
08026f36
...
@@ -13,7 +13,7 @@ function c60930169.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c60930169.initial_effect(c)
c60930169
.
global_check
=
true
c60930169
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
ge1
:
SetCode
(
EVENT_BATTLED
)
ge1
:
SetOperation
(
c60930169
.
checkop
)
ge1
:
SetOperation
(
c60930169
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
...
...
script/c6142213.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c6142213.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c6142213.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
6142213
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
6142213
,
0
))
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c6142213
.
condition
)
e1
:
SetCondition
(
c6142213
.
condition
)
e1
:
SetTarget
(
c6142213
.
target
)
e1
:
SetTarget
(
c6142213
.
target
)
e1
:
SetOperation
(
c6142213
.
operation
)
e1
:
SetOperation
(
c6142213
.
operation
)
...
...
script/c62315111.lua
View file @
08026f36
...
@@ -4,7 +4,7 @@ function c62315111.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c62315111.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
62315111
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
62315111
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c62315111
.
atcon
)
e1
:
SetCondition
(
c62315111
.
atcon
)
e1
:
SetOperation
(
c62315111
.
atop
)
e1
:
SetOperation
(
c62315111
.
atop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c65079854.lua
View file @
08026f36
...
@@ -39,7 +39,7 @@ function c65079854.initial_effect(c)
...
@@ -39,7 +39,7 @@ function c65079854.initial_effect(c)
e6
:
SetDescription
(
aux
.
Stringid
(
65079854
,
0
))
e6
:
SetDescription
(
aux
.
Stringid
(
65079854
,
0
))
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetRange
(
LOCATION_SZONE
)
e6
:
SetRange
(
LOCATION_SZONE
)
e6
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e6
:
SetCode
(
EVENT_BATTLED
)
e6
:
SetCondition
(
c65079854
.
adcon
)
e6
:
SetCondition
(
c65079854
.
adcon
)
e6
:
SetOperation
(
c65079854
.
adop
)
e6
:
SetOperation
(
c65079854
.
adop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
...
...
script/c65260293.lua
View file @
08026f36
...
@@ -12,7 +12,7 @@ function c65260293.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c65260293.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
65260293
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
65260293
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c65260293
.
atcon
)
e2
:
SetCondition
(
c65260293
.
atcon
)
e2
:
SetOperation
(
c65260293
.
atop
)
e2
:
SetOperation
(
c65260293
.
atop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c66712593.lua
View file @
08026f36
...
@@ -11,7 +11,7 @@ function c66712593.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c66712593.initial_effect(c)
--disable
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c66712593
.
discon
)
e2
:
SetCondition
(
c66712593
.
discon
)
e2
:
SetOperation
(
c66712593
.
disop
)
e2
:
SetOperation
(
c66712593
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c67030233.lua
View file @
08026f36
...
@@ -16,7 +16,7 @@ function c67030233.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c67030233.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
67030233
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
67030233
,
0
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c67030233
.
descon
)
e2
:
SetCondition
(
c67030233
.
descon
)
e2
:
SetTarget
(
c67030233
.
destg
)
e2
:
SetTarget
(
c67030233
.
destg
)
e2
:
SetOperation
(
c67030233
.
desop
)
e2
:
SetOperation
(
c67030233
.
desop
)
...
...
script/c67045174.lua
View file @
08026f36
...
@@ -13,7 +13,7 @@ function c67045174.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c67045174.initial_effect(c)
c67045174
.
global_check
=
true
c67045174
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
ge1
:
SetCode
(
EVENT_BATTLED
)
ge1
:
SetOperation
(
c67045174
.
checkop
)
ge1
:
SetOperation
(
c67045174
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
...
...
script/c68366996.lua
View file @
08026f36
...
@@ -16,7 +16,7 @@ function c68366996.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c68366996.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
68366996
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
68366996
,
0
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
aux
.
IsDualState
)
e2
:
SetCondition
(
aux
.
IsDualState
)
e2
:
SetTarget
(
c68366996
.
target
)
e2
:
SetTarget
(
c68366996
.
target
)
e2
:
SetOperation
(
c68366996
.
operation
)
e2
:
SetOperation
(
c68366996
.
operation
)
...
...
script/c68427465.lua
View file @
08026f36
...
@@ -26,7 +26,7 @@ function c68427465.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c68427465.initial_effect(c)
--negate
--negate
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetOperation
(
c68427465
.
negop
)
e4
:
SetOperation
(
c68427465
.
negop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
...
script/c70902743.lua
View file @
08026f36
...
@@ -8,7 +8,7 @@ function c70902743.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c70902743.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
70902743
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
70902743
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c70902743
.
condition1
)
e1
:
SetCondition
(
c70902743
.
condition1
)
e1
:
SetTarget
(
c70902743
.
target1
)
e1
:
SetTarget
(
c70902743
.
target1
)
e1
:
SetOperation
(
c70902743
.
operation1
)
e1
:
SetOperation
(
c70902743
.
operation1
)
...
...
script/c71934924.lua
View file @
08026f36
...
@@ -9,7 +9,7 @@ function c71934924.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c71934924.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetOperation
(
c71934924
.
atop
)
e2
:
SetOperation
(
c71934924
.
atop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--atkup
--atkup
...
...
script/c72167543.lua
View file @
08026f36
...
@@ -20,7 +20,7 @@ function c72167543.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c72167543.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
72167543
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
72167543
,
1
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetOperation
(
c72167543
.
rmop
)
e3
:
SetOperation
(
c72167543
.
rmop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
...
...
script/c72989439.lua
View file @
08026f36
...
@@ -27,7 +27,7 @@ function c72989439.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c72989439.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
72989439
,
2
))
e3
:
SetDescription
(
aux
.
Stringid
(
72989439
,
2
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e3
:
SetCode
(
EVENT_BATTLED
)
e3
:
SetCondition
(
c72989439
.
atcon
)
e3
:
SetCondition
(
c72989439
.
atcon
)
e3
:
SetOperation
(
c72989439
.
atop
)
e3
:
SetOperation
(
c72989439
.
atop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
...
script/c73544866.lua
View file @
08026f36
...
@@ -16,7 +16,7 @@ function c73544866.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c73544866.initial_effect(c)
--negate
--negate
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetOperation
(
c73544866
.
negop
)
e4
:
SetOperation
(
c73544866
.
negop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--atkup
--atkup
...
...
script/c76372778.lua
View file @
08026f36
...
@@ -7,7 +7,7 @@ function c76372778.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c76372778.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
76372778
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
76372778
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c76372778
.
condition
)
e1
:
SetCondition
(
c76372778
.
condition
)
e1
:
SetCost
(
c76372778
.
cost
)
e1
:
SetCost
(
c76372778
.
cost
)
e1
:
SetOperation
(
c76372778
.
operation
)
e1
:
SetOperation
(
c76372778
.
operation
)
...
...
script/c76650663.lua
View file @
08026f36
...
@@ -4,7 +4,7 @@ function c76650663.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c76650663.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
76650663
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
76650663
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c76650663
.
condition
)
e1
:
SetCondition
(
c76650663
.
condition
)
e1
:
SetOperation
(
c76650663
.
operation
)
e1
:
SetOperation
(
c76650663
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c77336644.lua
View file @
08026f36
...
@@ -13,7 +13,7 @@ function c77336644.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c77336644.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
77336644
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
77336644
,
0
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c77336644
.
descon
)
e2
:
SetCondition
(
c77336644
.
descon
)
e2
:
SetTarget
(
c77336644
.
destg
)
e2
:
SetTarget
(
c77336644
.
destg
)
e2
:
SetOperation
(
c77336644
.
desop
)
e2
:
SetOperation
(
c77336644
.
desop
)
...
...
script/c79965360.lua
View file @
08026f36
...
@@ -28,7 +28,7 @@ function c79965360.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c79965360.initial_effect(c)
e4
:
SetDescription
(
aux
.
Stringid
(
79965360
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
79965360
,
0
))
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetCondition
(
c79965360
.
descon
)
e4
:
SetCondition
(
c79965360
.
descon
)
e4
:
SetTarget
(
c79965360
.
destg
)
e4
:
SetTarget
(
c79965360
.
destg
)
...
...
script/c80071763.lua
View file @
08026f36
...
@@ -18,7 +18,7 @@ function c80071763.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c80071763.initial_effect(c)
--disable
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetOperation
(
c80071763
.
disop2
)
e2
:
SetOperation
(
c80071763
.
disop2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c80367387.lua
View file @
08026f36
...
@@ -13,7 +13,7 @@ function c80367387.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c80367387.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
80367387
,
3
))
e2
:
SetDescription
(
aux
.
Stringid
(
80367387
,
3
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c80367387
.
atcon
)
e2
:
SetCondition
(
c80367387
.
atcon
)
e2
:
SetOperation
(
c80367387
.
atop
)
e2
:
SetOperation
(
c80367387
.
atop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c81000306.lua
View file @
08026f36
...
@@ -38,7 +38,7 @@ function c81000306.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c81000306.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetOperation
(
c81000306
.
desop
)
e4
:
SetOperation
(
c81000306
.
desop
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
...
...
script/c85313220.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c85313220.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c85313220.initial_effect(c)
--disable
--disable
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c85313220
.
disop
)
e1
:
SetOperation
(
c85313220
.
disop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c85682655.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c85682655.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c85682655.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
85682655
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
85682655
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetTarget
(
c85682655
.
target
)
e1
:
SetTarget
(
c85682655
.
target
)
...
...
script/c85684223.lua
View file @
08026f36
...
@@ -44,7 +44,7 @@ function c85684223.initial_effect(c)
...
@@ -44,7 +44,7 @@ function c85684223.initial_effect(c)
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e6
:
SetCode
(
EVENT_BATTLED
)
e6
:
SetOperation
(
c85684223
.
desop3
)
e6
:
SetOperation
(
c85684223
.
desop3
)
e6
:
SetLabelObject
(
e4
)
e6
:
SetLabelObject
(
e4
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
...
...
script/c87880531.lua
View file @
08026f36
...
@@ -56,7 +56,7 @@ function c87880531.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function c87880531.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetOperation
(
c87880531
.
disop
)
e4
:
SetOperation
(
c87880531
.
disop
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
...
...
script/c88132637.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c88132637.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c88132637.initial_effect(c)
--disable
--disable
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c88132637
.
discon
)
e1
:
SetCondition
(
c88132637
.
discon
)
e1
:
SetOperation
(
c88132637
.
disop
)
e1
:
SetOperation
(
c88132637
.
disop
)
...
...
script/c88283496.lua
View file @
08026f36
...
@@ -5,7 +5,7 @@ function c88283496.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c88283496.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
88283496
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
88283496
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c88283496
.
retcon
)
e1
:
SetCondition
(
c88283496
.
retcon
)
e1
:
SetTarget
(
c88283496
.
rettg
)
e1
:
SetTarget
(
c88283496
.
rettg
)
e1
:
SetOperation
(
c88283496
.
retop
)
e1
:
SetOperation
(
c88283496
.
retop
)
...
...
script/c89567993.lua
View file @
08026f36
...
@@ -3,7 +3,7 @@ function c89567993.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c89567993.initial_effect(c)
--to deck
--to deck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e1
:
SetCode
(
EVENT_BATTLED
)
e1
:
SetCondition
(
c89567993
.
tdcon
)
e1
:
SetCondition
(
c89567993
.
tdcon
)
e1
:
SetOperation
(
c89567993
.
tdop
)
e1
:
SetOperation
(
c89567993
.
tdop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c92755808.lua
View file @
08026f36
...
@@ -12,7 +12,7 @@ function c92755808.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c92755808.initial_effect(c)
--disable
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE
_EN
D
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c92755808
.
discon
)
e2
:
SetCondition
(
c92755808
.
discon
)
e2
:
SetOperation
(
c92755808
.
disop
)
e2
:
SetOperation
(
c92755808
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
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