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
REIKAI
ygopro
Commits
9e40fea4
Commit
9e40fea4
authored
Jul 13, 2012
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
effect property
parent
576a0a1f
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
53 additions
and
20 deletions
+53
-20
script/c11287364.lua
script/c11287364.lua
+1
-0
script/c11390349.lua
script/c11390349.lua
+1
-0
script/c14154221.lua
script/c14154221.lua
+1
-1
script/c15313433.lua
script/c15313433.lua
+1
-0
script/c16111820.lua
script/c16111820.lua
+1
-0
script/c18489208.lua
script/c18489208.lua
+1
-0
script/c19182751.lua
script/c19182751.lua
+1
-2
script/c19980975.lua
script/c19980975.lua
+1
-0
script/c25924653.lua
script/c25924653.lua
+1
-0
script/c259314.lua
script/c259314.lua
+1
-0
script/c26376390.lua
script/c26376390.lua
+1
-0
script/c31175914.lua
script/c31175914.lua
+1
-0
script/c38643567.lua
script/c38643567.lua
+2
-0
script/c39180960.lua
script/c39180960.lua
+1
-1
script/c42303365.lua
script/c42303365.lua
+1
-0
script/c45653036.lua
script/c45653036.lua
+1
-0
script/c46668237.lua
script/c46668237.lua
+1
-0
script/c48568432.lua
script/c48568432.lua
+1
-0
script/c51047350.lua
script/c51047350.lua
+1
-2
script/c52702748.lua
script/c52702748.lua
+1
-2
script/c52824910.lua
script/c52824910.lua
+1
-0
script/c54040221.lua
script/c54040221.lua
+1
-0
script/c56052205.lua
script/c56052205.lua
+1
-1
script/c56399890.lua
script/c56399890.lua
+1
-0
script/c58054262.lua
script/c58054262.lua
+3
-3
script/c59771339.lua
script/c59771339.lua
+1
-0
script/c6112401.lua
script/c6112401.lua
+1
-0
script/c62560742.lua
script/c62560742.lua
+1
-0
script/c63741331.lua
script/c63741331.lua
+1
-0
script/c67159705.lua
script/c67159705.lua
+1
-0
script/c6799227.lua
script/c6799227.lua
+1
-0
script/c7030340.lua
script/c7030340.lua
+1
-0
script/c706925.lua
script/c706925.lua
+1
-0
script/c78422252.lua
script/c78422252.lua
+1
-1
script/c78586116.lua
script/c78586116.lua
+1
-0
script/c83269557.lua
script/c83269557.lua
+1
-1
script/c87043568.lua
script/c87043568.lua
+2
-1
script/c88301833.lua
script/c88301833.lua
+1
-0
script/c90246973.lua
script/c90246973.lua
+1
-0
script/c90740329.lua
script/c90740329.lua
+1
-0
script/c9109991.lua
script/c9109991.lua
+5
-4
script/c93211836.lua
script/c93211836.lua
+1
-0
script/c95090813.lua
script/c95090813.lua
+1
-0
script/c96872283.lua
script/c96872283.lua
+1
-0
script/c99214782.lua
script/c99214782.lua
+1
-1
No files found.
script/c11287364.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c11287364.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c11287364.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
11287364
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
11287364
,
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
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_BE_MATERIAL
)
e1
:
SetCode
(
EVENT_BE_MATERIAL
)
e1
:
SetCondition
(
c11287364
.
atkcon
)
e1
:
SetCondition
(
c11287364
.
atkcon
)
e1
:
SetTarget
(
c11287364
.
atktg
)
e1
:
SetTarget
(
c11287364
.
atktg
)
...
...
script/c11390349.lua
View file @
9e40fea4
...
@@ -16,6 +16,7 @@ function c11390349.initial_effect(c)
...
@@ -16,6 +16,7 @@ function c11390349.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
11390349
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
11390349
,
0
))
e3
:
SetCategory
(
CATEGORY_CONTROL
)
e3
:
SetCategory
(
CATEGORY_CONTROL
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
c11390349
.
ctltg
)
e3
:
SetTarget
(
c11390349
.
ctltg
)
...
...
script/c14154221.lua
View file @
9e40fea4
...
@@ -11,7 +11,7 @@ function c14154221.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c14154221.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_
DELAY
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c14154221
.
condition
)
e2
:
SetCondition
(
c14154221
.
condition
)
...
...
script/c15313433.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c15313433.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c15313433.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCost
(
c15313433
.
cost
)
e1
:
SetCost
(
c15313433
.
cost
)
e1
:
SetTarget
(
c15313433
.
target
)
e1
:
SetTarget
(
c15313433
.
target
)
e1
:
SetOperation
(
c15313433
.
activate
)
e1
:
SetOperation
(
c15313433
.
activate
)
...
...
script/c16111820.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c16111820.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c16111820.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e1
:
SetProperty
(
EFFECT_FLAG_CHAIN_UNIQUE
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCondition
(
c16111820
.
condition
)
e1
:
SetCondition
(
c16111820
.
condition
)
e1
:
SetTarget
(
c16111820
.
target
)
e1
:
SetTarget
(
c16111820
.
target
)
...
...
script/c18489208.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c18489208.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c18489208.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
18489208
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
18489208
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCondition
(
c18489208
.
con
)
e1
:
SetCondition
(
c18489208
.
con
)
e1
:
SetTarget
(
c18489208
.
tg
)
e1
:
SetTarget
(
c18489208
.
tg
)
...
...
script/c19182751.lua
View file @
9e40fea4
...
@@ -2,9 +2,8 @@
...
@@ -2,9 +2,8 @@
function
c19182751
.
initial_effect
(
c
)
function
c19182751
.
initial_effect
(
c
)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
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
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetOperation
(
c19182751
.
regop
)
e1
:
SetOperation
(
c19182751
.
regop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c19980975.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c19980975.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c19980975.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetTarget
(
c19980975
.
target
)
e1
:
SetTarget
(
c19980975
.
target
)
e1
:
SetOperation
(
c19980975
.
activate
)
e1
:
SetOperation
(
c19980975
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c25924653.lua
View file @
9e40fea4
...
@@ -63,6 +63,7 @@ function c25924653.spgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,6 +63,7 @@ function c25924653.spgop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetOperation
(
c25924653
.
disop
)
e2
:
SetOperation
(
c25924653
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
script/c259314.lua
View file @
9e40fea4
...
@@ -36,6 +36,7 @@ function c259314.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,6 +36,7 @@ function c259314.operation(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENCE
)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENCE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetValue
(
1000
)
e1
:
SetValue
(
1000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Equip limit
--Equip limit
...
...
script/c26376390.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c26376390.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c26376390.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
26376390
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
26376390
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetTarget
(
c26376390
.
target
)
e1
:
SetTarget
(
c26376390
.
target
)
e1
:
SetOperation
(
c26376390
.
operation
)
e1
:
SetOperation
(
c26376390
.
operation
)
...
...
script/c31175914.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c31175914.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c31175914.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
31175914
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
31175914
,
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
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_BE_MATERIAL
)
e1
:
SetCode
(
EVENT_BE_MATERIAL
)
e1
:
SetCondition
(
c31175914
.
atkcon
)
e1
:
SetCondition
(
c31175914
.
atkcon
)
e1
:
SetTarget
(
c31175914
.
atktg
)
e1
:
SetTarget
(
c31175914
.
atktg
)
...
...
script/c38643567.lua
View file @
9e40fea4
...
@@ -37,11 +37,13 @@ function c38643567.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,11 +37,13 @@ function c38643567.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
500
)
e1
:
SetValue
(
500
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENCE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENCE
)
e2
:
SetValue
(
500
)
e2
:
SetValue
(
500
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--Equip limit
--Equip limit
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
script/c39180960.lua
View file @
9e40fea4
...
@@ -5,7 +5,7 @@ function c39180960.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c39180960.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
39180960
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
39180960
,
0
))
e1
:
SetCategory
(
CATEGORY_HANDES
)
e1
:
SetCategory
(
CATEGORY_HANDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
Set
Operation
(
c39180960
.
target
)
e1
:
Set
Target
(
c39180960
.
target
)
e1
:
SetOperation
(
c39180960
.
operation
)
e1
:
SetOperation
(
c39180960
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroyed
--destroyed
...
...
script/c42303365.lua
View file @
9e40fea4
...
@@ -3,6 +3,7 @@ function c42303365.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c42303365.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
42303365
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
42303365
,
0
))
e1
:
SetCategory
(
CATEGORY_CONTROL
)
e1
:
SetCategory
(
CATEGORY_CONTROL
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetTarget
(
c42303365
.
ctltg
)
e1
:
SetTarget
(
c42303365
.
ctltg
)
...
...
script/c45653036.lua
View file @
9e40fea4
...
@@ -4,6 +4,7 @@ function c45653036.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c45653036.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetHintTiming
(
0
,
0x1e0
)
e1
:
SetHintTiming
(
0
,
0x1e0
)
e1
:
SetTarget
(
c45653036
.
target
)
e1
:
SetTarget
(
c45653036
.
target
)
e1
:
SetOperation
(
c45653036
.
activate
)
e1
:
SetOperation
(
c45653036
.
activate
)
...
...
script/c46668237.lua
View file @
9e40fea4
...
@@ -12,6 +12,7 @@ function c46668237.initial_effect(c)
...
@@ -12,6 +12,7 @@ function c46668237.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CHAIN_UNIQUE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetCondition
(
c46668237
.
condition
)
e2
:
SetCondition
(
c46668237
.
condition
)
...
...
script/c48568432.lua
View file @
9e40fea4
...
@@ -40,6 +40,7 @@ function c48568432.initial_effect(c)
...
@@ -40,6 +40,7 @@ function c48568432.initial_effect(c)
e5
:
SetDescription
(
aux
.
Stringid
(
48568432
,
2
))
e5
:
SetDescription
(
aux
.
Stringid
(
48568432
,
2
))
e5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e5
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_FIELD
)
e5
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_FIELD
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e5
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e5
:
SetCondition
(
c48568432
.
spcon2
)
e5
:
SetCondition
(
c48568432
.
spcon2
)
...
...
script/c51047350.lua
View file @
9e40fea4
...
@@ -4,9 +4,8 @@ function c51047350.initial_effect(c)
...
@@ -4,9 +4,8 @@ function c51047350.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_SPSUM_PARAM
)
e1
:
SetProperty
(
EFFECT_FLAG_SPSUM_PARAM
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
e1
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c51047350
.
spcon
)
e1
:
SetCondition
(
c51047350
.
spcon
)
e1
:
SetOperation
(
c51047350
.
spop
)
e1
:
SetOperation
(
c51047350
.
spop
)
...
...
script/c52702748.lua
View file @
9e40fea4
...
@@ -14,10 +14,9 @@ function c52702748.initial_effect(c)
...
@@ -14,10 +14,9 @@ function c52702748.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
52702748
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
52702748
,
1
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_REPEAT
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_REPEAT
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
c52702748
.
rmtg
)
e2
:
SetTarget
(
c52702748
.
rmtg
)
e2
:
SetOperation
(
c52702748
.
rmop
)
e2
:
SetOperation
(
c52702748
.
rmop
)
...
...
script/c52824910.lua
View file @
9e40fea4
...
@@ -11,6 +11,7 @@ function c52824910.initial_effect(c)
...
@@ -11,6 +11,7 @@ function c52824910.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
52824910
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
52824910
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCondition
(
c52824910
.
condition
)
e2
:
SetCondition
(
c52824910
.
condition
)
e2
:
SetTarget
(
c52824910
.
target
)
e2
:
SetTarget
(
c52824910
.
target
)
...
...
script/c54040221.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c54040221.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c54040221.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
54040221
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
54040221
,
0
))
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetTarget
(
c54040221
.
tg
)
e1
:
SetTarget
(
c54040221
.
tg
)
e1
:
SetOperation
(
c54040221
.
op
)
e1
:
SetOperation
(
c54040221
.
op
)
...
...
script/c56052205.lua
View file @
9e40fea4
...
@@ -10,7 +10,7 @@ function c56052205.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c56052205.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
56052205
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
56052205
,
0
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetProperty
(
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_
DAMAGE_STEP
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_DAMAGE
)
e2
:
SetCode
(
EVENT_DAMAGE
)
e2
:
SetCondition
(
c56052205
.
condition
)
e2
:
SetCondition
(
c56052205
.
condition
)
...
...
script/c56399890.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c56399890.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c56399890.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
56399890
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
56399890
,
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
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCondition
(
c56399890
.
descon
)
e1
:
SetCondition
(
c56399890
.
descon
)
e1
:
SetTarget
(
c56399890
.
destg
)
e1
:
SetTarget
(
c56399890
.
destg
)
...
...
script/c58054262.lua
View file @
9e40fea4
...
@@ -6,7 +6,6 @@ function c58054262.initial_effect(c)
...
@@ -6,7 +6,6 @@ function c58054262.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--attack cost
--attack cost
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -17,9 +16,10 @@ function c58054262.initial_effect(c)
...
@@ -17,9 +16,10 @@ function c58054262.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--special summon
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
22666164
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
58054262
,
0
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCost
(
c58054262
.
spcost
)
e3
:
SetCost
(
c58054262
.
spcost
)
e3
:
SetTarget
(
c58054262
.
sptg
)
e3
:
SetTarget
(
c58054262
.
sptg
)
...
@@ -37,7 +37,7 @@ function c58054262.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,7 +37,7 @@ function c58054262.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c58054262
.
filter
(
c
,
code
,
e
,
tp
)
function
c58054262
.
filter
(
c
,
code
,
e
,
tp
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
tru
e
,
false
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
fals
e
,
false
)
end
end
function
c58054262
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c58054262
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
script/c59771339.lua
View file @
9e40fea4
...
@@ -7,6 +7,7 @@ function c59771339.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c59771339.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
59771339
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
59771339
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
c59771339
.
cost
)
e1
:
SetCost
(
c59771339
.
cost
)
...
...
script/c6112401.lua
View file @
9e40fea4
...
@@ -49,6 +49,7 @@ function c6112401.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,6 +49,7 @@ function c6112401.operation(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetValue
(
800
)
e2
:
SetValue
(
800
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--Equip limit
--Equip limit
...
...
script/c62560742.lua
View file @
9e40fea4
...
@@ -7,6 +7,7 @@ function c62560742.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c62560742.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
62560742
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
62560742
,
0
))
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
...
script/c63741331.lua
View file @
9e40fea4
...
@@ -4,6 +4,7 @@ function c63741331.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c63741331.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCost
(
c63741331
.
cost
)
e1
:
SetCost
(
c63741331
.
cost
)
e1
:
SetTarget
(
c63741331
.
target
)
e1
:
SetTarget
(
c63741331
.
target
)
e1
:
SetOperation
(
c63741331
.
activate
)
e1
:
SetOperation
(
c63741331
.
activate
)
...
...
script/c67159705.lua
View file @
9e40fea4
...
@@ -39,6 +39,7 @@ function c67159705.initial_effect(c)
...
@@ -39,6 +39,7 @@ function c67159705.initial_effect(c)
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
67159705
,
2
))
e5
:
SetDescription
(
aux
.
Stringid
(
67159705
,
2
))
e5
:
SetCategory
(
CATEGORY_DESTROY
)
e5
:
SetCategory
(
CATEGORY_DESTROY
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetCountLimit
(
1
)
...
...
script/c6799227.lua
View file @
9e40fea4
...
@@ -4,6 +4,7 @@ function c6799227.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c6799227.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e1
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e1
:
SetCondition
(
c6799227
.
condition
)
e1
:
SetCondition
(
c6799227
.
condition
)
e1
:
SetTarget
(
c6799227
.
target
)
e1
:
SetTarget
(
c6799227
.
target
)
...
...
script/c7030340.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c7030340.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c7030340.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetTarget
(
c7030340
.
target
)
e1
:
SetTarget
(
c7030340
.
target
)
e1
:
SetOperation
(
c7030340
.
activate
)
e1
:
SetOperation
(
c7030340
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c706925.lua
View file @
9e40fea4
...
@@ -14,6 +14,7 @@ function c706925.initial_effect(c)
...
@@ -14,6 +14,7 @@ function c706925.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
706925
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
706925
,
1
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCondition
(
c706925
.
descon
)
e2
:
SetCondition
(
c706925
.
descon
)
...
...
script/c78422252.lua
View file @
9e40fea4
...
@@ -3,7 +3,7 @@ function c78422252.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c78422252.initial_effect(c)
--negate attack
--negate attack
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
78422252
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
78422252
,
0
))
e1
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetProperty
(
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_
NO_TURN_RESET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e1
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
script/c78586116.lua
View file @
9e40fea4
...
@@ -41,6 +41,7 @@ function c78586116.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,7 @@ function c78586116.operation(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Equip limit
--Equip limit
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
script/c83269557.lua
View file @
9e40fea4
...
@@ -32,6 +32,7 @@ function c83269557.initial_effect(c)
...
@@ -32,6 +32,7 @@ function c83269557.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
83269557
,
1
))
e4
:
SetDescription
(
aux
.
Stringid
(
83269557
,
1
))
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
aux
.
IsDualState
)
e4
:
SetCondition
(
aux
.
IsDualState
)
...
@@ -64,7 +65,6 @@ function c83269557.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -64,7 +65,6 @@ function c83269557.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
end
function
c83269557
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c83269557
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
...
...
script/c87043568.lua
View file @
9e40fea4
...
@@ -4,6 +4,7 @@ function c87043568.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c87043568.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c87043568
.
target
)
e1
:
SetTarget
(
c87043568
.
target
)
e1
:
SetOperation
(
c87043568
.
operation
)
e1
:
SetOperation
(
c87043568
.
operation
)
...
@@ -66,7 +67,7 @@ function c87043568.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -66,7 +67,7 @@ function c87043568.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
g
:
GetFirst
():
GetAttack
())
e
:
SetLabel
(
g
:
GetFirst
():
GetAttack
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
function
c87043568
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c87043568
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
if
c
:
IsRelateToEffect
(
e
)
and
a
:
IsRelateToBattle
()
and
a
:
IsFaceup
()
then
if
c
:
IsRelateToEffect
(
e
)
and
a
:
IsRelateToBattle
()
and
a
:
IsFaceup
()
then
...
...
script/c88301833.lua
View file @
9e40fea4
...
@@ -9,6 +9,7 @@ function c88301833.initial_effect(c)
...
@@ -9,6 +9,7 @@ function c88301833.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
88301833
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
88301833
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
...
script/c90246973.lua
View file @
9e40fea4
...
@@ -20,6 +20,7 @@ function c90246973.initial_effect(c)
...
@@ -20,6 +20,7 @@ function c90246973.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
90246973
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
90246973
,
0
))
e3
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_ATKCHANGE
)
e3
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_ATKCHANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
...
...
script/c90740329.lua
View file @
9e40fea4
...
@@ -3,6 +3,7 @@ function c90740329.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c90740329.initial_effect(c)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e1
:
SetCondition
(
c90740329
.
condition
)
e1
:
SetCondition
(
c90740329
.
condition
)
...
...
script/c9109991.lua
View file @
9e40fea4
...
@@ -9,19 +9,20 @@ function c9109991.initial_effect(c)
...
@@ -9,19 +9,20 @@ function c9109991.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
9109991
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
9109991
,
0
))
e2
:
SetCategory
(
CATEGORY_POSITION
)
e2
:
SetCategory
(
CATEGORY_POSITION
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_DAMAGE
)
e2
:
SetCode
(
EVENT_
BATTLE_
DAMAGE
)
e2
:
SetCondition
(
c9109991
.
condition
)
e2
:
SetCondition
(
c9109991
.
condition
)
e2
:
SetTarget
(
c9109991
.
target
)
e2
:
SetTarget
(
c9109991
.
target
)
e2
:
SetOperation
(
c9109991
.
operation
)
e2
:
SetOperation
(
c9109991
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c9109991
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9109991
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
r
==
REASON_BATTLE
and
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
and
Duel
.
GetAttackTarget
()
==
nil
return
ep
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
end
end
function
c9109991
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c9109991
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
~=
tp
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsAttackPos
()
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsAttackPos
()
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTACK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTACK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAttackPos
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAttackPos
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
...
...
script/c93211836.lua
View file @
9e40fea4
...
@@ -4,6 +4,7 @@ function c93211836.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c93211836.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
93211836
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
93211836
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCondition
(
c93211836
.
condition
)
e1
:
SetCondition
(
c93211836
.
condition
)
...
...
script/c95090813.lua
View file @
9e40fea4
...
@@ -92,6 +92,7 @@ function c95090813.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,6 +92,7 @@ function c95090813.eqop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e3
:
SetCode
(
EFFECT_DESTROY_SUBSTITUTE
)
e3
:
SetCode
(
EFFECT_DESTROY_SUBSTITUTE
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e3
:
SetValue
(
c95090813
.
subval
)
e3
:
SetValue
(
c95090813
.
subval
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
end
end
...
...
script/c96872283.lua
View file @
9e40fea4
...
@@ -5,6 +5,7 @@ function c96872283.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c96872283.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
96872283
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
96872283
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
aux
.
IsDualState
)
e1
:
SetCondition
(
aux
.
IsDualState
)
...
...
script/c99214782.lua
View file @
9e40fea4
...
@@ -4,7 +4,7 @@ function c99214782.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c99214782.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetRange
(
LOCATION_
S
ZONE
)
e1
:
SetRange
(
LOCATION_
M
ZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTarget
(
c99214782
.
target
)
e1
:
SetTarget
(
c99214782
.
target
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
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