Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
cb54f7a5
Commit
cb54f7a5
authored
Jan 30, 2017
by
mercury233
Committed by
DailyShana
Feb 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
483e73e4
Changes
88
Hide whitespace changes
Inline
Side-by-side
Showing
88 changed files
with
91 additions
and
61 deletions
+91
-61
c10321588.lua
c10321588.lua
+1
-0
c10406322.lua
c10406322.lua
+1
-1
c10530913.lua
c10530913.lua
+1
-0
c11682713.lua
c11682713.lua
+1
-0
c12247206.lua
c12247206.lua
+1
-1
c13093792.lua
c13093792.lua
+1
-0
c1372887.lua
c1372887.lua
+1
-0
c1409474.lua
c1409474.lua
+1
-0
c15381252.lua
c15381252.lua
+1
-0
c15521027.lua
c15521027.lua
+1
-0
c1637760.lua
c1637760.lua
+1
-1
c16435215.lua
c16435215.lua
+1
-1
c17141718.lua
c17141718.lua
+1
-0
c18631392.lua
c18631392.lua
+1
-1
c18716735.lua
c18716735.lua
+1
-0
c20579538.lua
c20579538.lua
+1
-0
c20590784.lua
c20590784.lua
+1
-1
c22796548.lua
c22796548.lua
+1
-1
c23927567.lua
c23927567.lua
+1
-0
c24140059.lua
c24140059.lua
+1
-0
c25824484.lua
c25824484.lua
+1
-0
c26285788.lua
c26285788.lua
+1
-0
c27995943.lua
c27995943.lua
+1
-1
c29735721.lua
c29735721.lua
+1
-1
c30086349.lua
c30086349.lua
+1
-1
c30127518.lua
c30127518.lua
+1
-1
c31000575.lua
c31000575.lua
+1
-1
c31247589.lua
c31247589.lua
+1
-1
c32362575.lua
c32362575.lua
+1
-1
c33611061.lua
c33611061.lua
+1
-1
c33909817.lua
c33909817.lua
+1
-1
c34124316.lua
c34124316.lua
+1
-1
c35037880.lua
c35037880.lua
+1
-1
c35480699.lua
c35480699.lua
+1
-1
c36046926.lua
c36046926.lua
+1
-1
c39238953.lua
c39238953.lua
+1
-1
c39913299.lua
c39913299.lua
+1
-1
c40933924.lua
c40933924.lua
+1
-1
c42143067.lua
c42143067.lua
+1
-1
c42421606.lua
c42421606.lua
+1
-1
c45118716.lua
c45118716.lua
+1
-1
c45948430.lua
c45948430.lua
+1
-1
c46052429.lua
c46052429.lua
+1
-1
c46448938.lua
c46448938.lua
+1
-1
c47077318.lua
c47077318.lua
+1
-0
c47222536.lua
c47222536.lua
+1
-1
c47611119.lua
c47611119.lua
+1
-1
c47741109.lua
c47741109.lua
+1
-0
c48539234.lua
c48539234.lua
+2
-1
c48653261.lua
c48653261.lua
+1
-0
c51028231.lua
c51028231.lua
+1
-1
c54591086.lua
c54591086.lua
+1
-0
c60728397.lua
c60728397.lua
+1
-1
c60743819.lua
c60743819.lua
+1
-1
c60990740.lua
c60990740.lua
+1
-0
c61307542.lua
c61307542.lua
+1
-1
c6172122.lua
c6172122.lua
+1
-1
c62017867.lua
c62017867.lua
+1
-1
c62434031.lua
c62434031.lua
+1
-0
c63257623.lua
c63257623.lua
+1
-0
c63942761.lua
c63942761.lua
+2
-2
c65472618.lua
c65472618.lua
+1
-0
c66399675.lua
c66399675.lua
+1
-1
c70222318.lua
c70222318.lua
+1
-0
c7076131.lua
c7076131.lua
+1
-1
c72403299.lua
c72403299.lua
+1
-1
c72648577.lua
c72648577.lua
+1
-1
c73136204.lua
c73136204.lua
+1
-1
c73271204.lua
c73271204.lua
+1
-1
c75014062.lua
c75014062.lua
+1
-1
c75141056.lua
c75141056.lua
+1
-0
c75840616.lua
c75840616.lua
+1
-0
c7617253.lua
c7617253.lua
+1
-1
c76895648.lua
c76895648.lua
+1
-1
c78053598.lua
c78053598.lua
+1
-0
c81172176.lua
c81172176.lua
+1
-1
c82099401.lua
c82099401.lua
+1
-1
c82257940.lua
c82257940.lua
+1
-1
c82321037.lua
c82321037.lua
+1
-1
c82340056.lua
c82340056.lua
+1
-1
c82760689.lua
c82760689.lua
+1
-0
c90075978.lua
c90075978.lua
+1
-1
c90434926.lua
c90434926.lua
+2
-1
c91110378.lua
c91110378.lua
+1
-1
c9113513.lua
c9113513.lua
+1
-1
c95239444.lua
c95239444.lua
+1
-1
c99429730.lua
c99429730.lua
+1
-1
c99641328.lua
c99641328.lua
+1
-1
No files found.
c10321588.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c10321588.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c10321588.initial_effect(c)
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
10321588
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
10321588
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
c10406322.lua
View file @
cb54f7a5
...
@@ -6,7 +6,7 @@ function c10406322.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c10406322.initial_effect(c)
--announce
--announce
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
10406322
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
10406322
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
...
c10530913.lua
View file @
cb54f7a5
...
@@ -14,6 +14,7 @@ function c10530913.initial_effect(c)
...
@@ -14,6 +14,7 @@ function c10530913.initial_effect(c)
--deck check
--deck check
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
10530913
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
10530913
,
1
))
e2
:
SetCategory
(
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
...
c11682713.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c11682713.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c11682713.initial_effect(c)
--deck check
--deck check
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
11682713
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
11682713
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e1
:
SetCondition
(
aux
.
bdogcon
)
e1
:
SetCondition
(
aux
.
bdogcon
)
...
...
c12247206.lua
View file @
cb54f7a5
...
@@ -26,7 +26,7 @@ function c12247206.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -26,7 +26,7 @@ function c12247206.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
tc
:
CreateEffectRelation
(
e
)
tc
:
CreateEffectRelation
(
e
)
local
g
=
Duel
.
GetMatchingGroup
(
c12247206
.
filter
,
tp
,
0x13
,
0
,
nil
,
tc
,
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c12247206
.
filter
,
tp
,
0x13
,
0
,
nil
,
tc
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
PLAYER_ALL
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
PLAYER_ALL
,
0
x13
)
end
end
function
c12247206
.
filter
(
c
,
tc
,
e
,
tp
)
function
c12247206
.
filter
(
c
,
tc
,
e
,
tp
)
return
c12247206
.
nfilter
(
c
,
tc
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c12247206
.
nfilter
(
c
,
tc
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c13093792.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c13093792.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c13093792.initial_effect(c)
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
13093792
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
13093792
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
c1372887.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c1372887
.
initial_effect
(
c
)
function
c1372887
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
1372887
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
1372887
+
EFFECT_COUNT_CODE_OATH
)
...
...
c1409474.lua
View file @
cb54f7a5
...
@@ -11,6 +11,7 @@ function c1409474.initial_effect(c)
...
@@ -11,6 +11,7 @@ function c1409474.initial_effect(c)
--guess
--guess
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
1409474
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
1409474
,
0
))
e2
:
SetCategory
(
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
,
1409474
)
e2
:
SetCountLimit
(
1
,
1409474
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
c15381252.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c15381252
.
initial_effect
(
c
)
function
c15381252
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e1
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e1
:
SetCountLimit
(
1
,
15381252
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
15381252
+
EFFECT_COUNT_CODE_OATH
)
...
...
c15521027.lua
View file @
cb54f7a5
...
@@ -14,6 +14,7 @@ function c15521027.initial_effect(c)
...
@@ -14,6 +14,7 @@ function c15521027.initial_effect(c)
--tohand
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
15521027
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
15521027
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
...
c1637760.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c1637760
.
initial_effect
(
c
)
function
c1637760
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DISABLE_SUMMON
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DISABLE_SUMMON
+
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_SPSUMMON
)
e1
:
SetCode
(
EVENT_SPSUMMON
)
e1
:
SetCondition
(
c1637760
.
condition
)
e1
:
SetCondition
(
c1637760
.
condition
)
...
...
c16435215.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c16435215
.
initial_effect
(
c
)
function
c16435215
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_HANDES
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_HANDES
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
c16435215
.
condition
)
e1
:
SetCondition
(
c16435215
.
condition
)
...
...
c17141718.lua
View file @
cb54f7a5
...
@@ -11,6 +11,7 @@ function c17141718.initial_effect(c)
...
@@ -11,6 +11,7 @@ function c17141718.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--shuffle
--shuffle
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_DRAW
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
c18631392.lua
View file @
cb54f7a5
...
@@ -20,7 +20,7 @@ function c18631392.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c18631392.initial_effect(c)
--announce 3 cards
--announce 3 cards
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
18631392
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
18631392
,
0
))
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
TOGRAVE
+
CATEGORY_ATKCHANGE
)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
SEARCH
+
CATEGORY_DECKDES
+
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
...
...
c18716735.lua
View file @
cb54f7a5
...
@@ -16,6 +16,7 @@ function c18716735.initial_effect(c)
...
@@ -16,6 +16,7 @@ function c18716735.initial_effect(c)
--to hand
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
18716735
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
18716735
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetCode
(
EVENT_DESTROYED
)
...
...
c20579538.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c20579538.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c20579538.initial_effect(c)
--deck check
--deck check
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
20579538
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
20579538
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
20579538
)
e1
:
SetCountLimit
(
1
,
20579538
)
...
...
c20590784.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c20590784
.
initial_effect
(
c
)
function
c20590784
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_
DRAW
+
CATEGORY_
SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCountLimit
(
1
,
20590784
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
20590784
+
EFFECT_COUNT_CODE_OATH
)
...
...
c22796548.lua
View file @
cb54f7a5
...
@@ -7,7 +7,7 @@ function c22796548.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c22796548.initial_effect(c)
--announce
--announce
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
22796548
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
22796548
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
...
c23927567.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c23927567
.
initial_effect
(
c
)
function
c23927567
.
initial_effect
(
c
)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetOperation
(
c23927567
.
operation
)
e1
:
SetOperation
(
c23927567
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c24140059.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c24140059
.
initial_effect
(
c
)
function
c24140059
.
initial_effect
(
c
)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetOperation
(
c24140059
.
operation
)
e1
:
SetOperation
(
c24140059
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c25824484.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c25824484.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c25824484.initial_effect(c)
--deck check
--deck check
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
25824484
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
25824484
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
...
c26285788.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c26285788
.
initial_effect
(
c
)
function
c26285788
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
26285788
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
26285788
+
EFFECT_COUNT_CODE_OATH
)
...
...
c27995943.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c27995943
.
initial_effect
(
c
)
function
c27995943
.
initial_effect
(
c
)
--tohand
--tohand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
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
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
...
...
c29735721.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c29735721
.
initial_effect
(
c
)
function
c29735721
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCondition
(
c29735721
.
condition
)
e1
:
SetCondition
(
c29735721
.
condition
)
...
...
c30086349.lua
View file @
cb54f7a5
...
@@ -6,7 +6,7 @@ function c30086349.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c30086349.initial_effect(c)
--damage
--damage
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
30086349
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
30086349
,
0
))
e1
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_
DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
c30127518.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c30127518
.
initial_effect
(
c
)
function
c30127518
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetTarget
(
c30127518
.
target
)
e1
:
SetTarget
(
c30127518
.
target
)
...
...
c31000575.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c31000575
.
initial_effect
(
c
)
function
c31000575
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c31000575
.
target
)
e1
:
SetTarget
(
c31000575
.
target
)
...
...
c31247589.lua
View file @
cb54f7a5
...
@@ -37,7 +37,7 @@ end
...
@@ -37,7 +37,7 @@ end
function
c31247589
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c31247589
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c31247589
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c31247589
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
end
function
c31247589
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31247589
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
...
...
c32362575.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c32362575
.
initial_effect
(
c
)
function
c32362575
.
initial_effect
(
c
)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
SEARCH
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetOperation
(
c32362575
.
operation
)
e1
:
SetOperation
(
c32362575
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c33611061.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c33611061
.
initial_effect
(
c
)
function
c33611061
.
initial_effect
(
c
)
--activate
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_HANDES
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_HANDES
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
33611061
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
33611061
+
EFFECT_COUNT_CODE_OATH
)
...
...
c33909817.lua
View file @
cb54f7a5
...
@@ -6,7 +6,7 @@ function c33909817.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c33909817.initial_effect(c)
--tohand
--tohand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
33909817
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
33909817
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
33909817
)
e1
:
SetCountLimit
(
1
,
33909817
)
...
...
c34124316.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c34124316
.
initial_effect
(
c
)
function
c34124316
.
initial_effect
(
c
)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetTarget
(
c34124316
.
target
)
e1
:
SetTarget
(
c34124316
.
target
)
e1
:
SetOperation
(
c34124316
.
operation
)
e1
:
SetOperation
(
c34124316
.
operation
)
...
...
c35037880.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c35037880
.
initial_effect
(
c
)
function
c35037880
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_RECOVER
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_RECOVER
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_DAMAGE
)
e1
:
SetCode
(
EVENT_DAMAGE
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
...
...
c35480699.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c35480699
.
initial_effect
(
c
)
function
c35480699
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
0x1e0
)
e1
:
SetHintTiming
(
0
,
0x1e0
)
...
...
c36046926.lua
View file @
cb54f7a5
...
@@ -3,7 +3,7 @@ function c36046926.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c36046926.initial_effect(c)
--deck
--deck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
36046926
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
36046926
,
0
))
e1
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_
DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
c39238953.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c39238953
.
initial_effect
(
c
)
function
c39238953
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_S
EARCH
+
CATEGORY_S
PECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
c39238953
.
cost
)
e1
:
SetCost
(
c39238953
.
cost
)
...
...
c39913299.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c39913299
.
initial_effect
(
c
)
function
c39913299
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
39913299
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
39913299
+
EFFECT_COUNT_CODE_OATH
)
...
...
c40933924.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c40933924
.
initial_effect
(
c
)
function
c40933924
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
40933924
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
40933924
,
0
))
e1
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_
DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e1
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e1
:
SetCondition
(
c40933924
.
condition
)
e1
:
SetCondition
(
c40933924
.
condition
)
...
...
c42143067.lua
View file @
cb54f7a5
...
@@ -35,7 +35,7 @@ function c42143067.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -35,7 +35,7 @@ function c42143067.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c42143067
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c42143067
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabelObject
(
g
:
GetFirst
())
e
:
SetLabelObject
(
g
:
GetFirst
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
end
function
c42143067
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c42143067
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
gc
=
e
:
GetLabelObject
()
local
gc
=
e
:
GetLabelObject
()
...
...
c42421606.lua
View file @
cb54f7a5
...
@@ -11,7 +11,7 @@ function c42421606.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c42421606.initial_effect(c)
--
--
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
42421606
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
42421606
,
0
))
e2
:
SetCategory
(
CATEGORY_DICE
)
e2
:
SetCategory
(
CATEGORY_DICE
+
CATEGORY_DRAW
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
...
c45118716.lua
View file @
cb54f7a5
...
@@ -3,7 +3,7 @@ function c45118716.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c45118716.initial_effect(c)
--todeck
--todeck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
45118716
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
45118716
,
0
))
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_
DECKDES
+
CATEGORY_
TODECK
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
...
...
c45948430.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c45948430
.
initial_effect
(
c
)
function
c45948430
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
45948430
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
45948430
+
EFFECT_COUNT_CODE_OATH
)
...
...
c46052429.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c46052429
.
initial_effect
(
c
)
function
c46052429
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c46052429
.
target
)
e1
:
SetTarget
(
c46052429
.
target
)
...
...
c46448938.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c46448938
.
initial_effect
(
c
)
function
c46448938
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
46448938
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
46448938
+
EFFECT_COUNT_CODE_OATH
)
...
...
c47077318.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c47077318.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c47077318.initial_effect(c)
--deck check
--deck check
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
47077318
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
47077318
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
c47222536.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c47222536
.
initial_effect
(
c
)
function
c47222536
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
47222536
)
e1
:
SetCountLimit
(
1
,
47222536
)
...
...
c47611119.lua
View file @
cb54f7a5
...
@@ -13,7 +13,7 @@ function c47611119.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c47611119.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--damage
--damage
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_DAMAGE
)
e2
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
c47741109.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c47741109.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c47741109.initial_effect(c)
--tograve
--tograve
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
47741109
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
47741109
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
c48539234.lua
View file @
cb54f7a5
...
@@ -2,11 +2,12 @@
...
@@ -2,11 +2,12 @@
function
c48539234
.
initial_effect
(
c
)
function
c48539234
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_DRAW
)
e1
:
SetCode
(
EVENT_DRAW
)
e1
:
SetCondition
(
c48539234
.
condition
)
e1
:
SetCondition
(
c48539234
.
condition
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
recover
--
draw
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
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
c48653261.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c48653261
.
initial_effect
(
c
)
function
c48653261
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
c51028231.lua
View file @
cb54f7a5
...
@@ -69,7 +69,7 @@ end
...
@@ -69,7 +69,7 @@ end
function
c51028231
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c51028231
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c51028231
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c51028231
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
end
function
c51028231
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51028231
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
...
...
c54591086.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c54591086
.
initial_effect
(
c
)
function
c54591086
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetLabel
(
0
)
e1
:
SetLabel
(
0
)
...
...
c60728397.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c60728397
.
initial_effect
(
c
)
function
c60728397
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_
DECKDES
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
c60743819.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c60743819
.
initial_effect
(
c
)
function
c60743819
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
c60990740.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c60990740
.
initial_effect
(
c
)
function
c60990740
.
initial_effect
(
c
)
--sset
--sset
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_GRAVE
)
...
...
c61307542.lua
View file @
cb54f7a5
...
@@ -14,7 +14,7 @@ function c61307542.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c61307542.initial_effect(c)
--reveal
--reveal
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
61307542
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
61307542
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
c6172122.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c6172122
.
initial_effect
(
c
)
function
c6172122
.
initial_effect
(
c
)
--activate
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
6172122
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
6172122
+
EFFECT_COUNT_CODE_OATH
)
...
...
c62017867.lua
View file @
cb54f7a5
...
@@ -11,7 +11,7 @@ function c62017867.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c62017867.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--atk
--atk
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
...
...
c62434031.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c62434031.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c62434031.initial_effect(c)
--deck check
--deck check
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
62434031
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
62434031
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
c63257623.lua
View file @
cb54f7a5
...
@@ -3,6 +3,7 @@ function c63257623.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c63257623.initial_effect(c)
--deck check
--deck check
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
63257623
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
63257623
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
c63942761.lua
View file @
cb54f7a5
--リチュア・ノエリア
--リチュア・ノエリア
function
c63942761
.
initial_effect
(
c
)
function
c63942761
.
initial_effect
(
c
)
--to
hand
--to
grave
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
63942761
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
63942761
,
0
))
e1
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_
DECKDES
)
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
:
SetTarget
(
c63942761
.
target
)
e1
:
SetTarget
(
c63942761
.
target
)
...
...
c65472618.lua
View file @
cb54f7a5
...
@@ -14,6 +14,7 @@ function c65472618.initial_effect(c)
...
@@ -14,6 +14,7 @@ function c65472618.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--to hand
--to hand
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
c66399675.lua
View file @
cb54f7a5
...
@@ -3,7 +3,7 @@ function c66399675.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c66399675.initial_effect(c)
--to hand
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
66399675
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
66399675
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetOperation
(
c66399675
.
operation
)
e1
:
SetOperation
(
c66399675
.
operation
)
...
...
c70222318.lua
View file @
cb54f7a5
...
@@ -17,6 +17,7 @@ function c70222318.initial_effect(c)
...
@@ -17,6 +17,7 @@ function c70222318.initial_effect(c)
--deck check
--deck check
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
70222318
,
3
))
e3
:
SetDescription
(
aux
.
Stringid
(
70222318
,
3
))
e3
:
SetCategory
(
CATEGORY_DECKDES
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
c7076131.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c7076131
.
initial_effect
(
c
)
function
c7076131
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_DECKDES
)
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
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
c72403299.lua
View file @
cb54f7a5
...
@@ -3,7 +3,7 @@ function c72403299.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c72403299.initial_effect(c)
--announce
--announce
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
72403299
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
72403299
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
...
c72648577.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c72648577
.
initial_effect
(
c
)
function
c72648577
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c72648577
.
target
)
e1
:
SetTarget
(
c72648577
.
target
)
...
...
c73136204.lua
View file @
cb54f7a5
...
@@ -3,7 +3,7 @@ function c73136204.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c73136204.initial_effect(c)
--deck
--deck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
73136204
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
73136204
,
0
))
e1
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_
DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
...
c73271204.lua
View file @
cb54f7a5
...
@@ -13,7 +13,7 @@ function c73271204.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c73271204.initial_effect(c)
--mill
--mill
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
73271204
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
73271204
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
c75014062.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c75014062
.
initial_effect
(
c
)
function
c75014062
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_COUNTER
)
e1
:
SetCategory
(
CATEGORY_COUNTER
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
c75141056.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c75141056
.
initial_effect
(
c
)
function
c75141056
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
c75840616.lua
View file @
cb54f7a5
...
@@ -6,6 +6,7 @@ function c75840616.initial_effect(c)
...
@@ -6,6 +6,7 @@ function c75840616.initial_effect(c)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e1
:
SetDescription
(
aux
.
Stringid
(
75840616
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
75840616
,
0
))
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
...
...
c7617253.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c7617253
.
initial_effect
(
c
)
function
c7617253
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
...
...
c76895648.lua
View file @
cb54f7a5
...
@@ -9,7 +9,7 @@ function c76895648.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c76895648.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
76895648
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
76895648
,
0
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DRAW
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
...
c78053598.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c78053598
.
initial_effect
(
c
)
function
c78053598
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c78053598
.
target
)
e1
:
SetTarget
(
c78053598
.
target
)
...
...
c81172176.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c81172176
.
initial_effect
(
c
)
function
c81172176
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_COIN
+
CATEGORY_REMOVE
+
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_COIN
+
CATEGORY_REMOVE
+
CATEGORY_
DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c81172176
.
target
)
e1
:
SetTarget
(
c81172176
.
target
)
...
...
c82099401.lua
View file @
cb54f7a5
...
@@ -3,7 +3,7 @@ function c82099401.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c82099401.initial_effect(c)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
82099401
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
82099401
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetOperation
(
c82099401
.
operation
)
e1
:
SetOperation
(
c82099401
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c82257940.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c82257940
.
initial_effect
(
c
)
function
c82257940
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c82257940
.
target
)
e1
:
SetTarget
(
c82257940
.
target
)
...
...
c82321037.lua
View file @
cb54f7a5
...
@@ -96,7 +96,7 @@ end
...
@@ -96,7 +96,7 @@ end
function
c82321037
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c82321037
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c82321037
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c82321037
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
end
function
c82321037
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82321037
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
...
...
c82340056.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c82340056
.
initial_effect
(
c
)
function
c82340056
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCondition
(
c82340056
.
condition
)
e1
:
SetCondition
(
c82340056
.
condition
)
...
...
c82760689.lua
View file @
cb54f7a5
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c82760689
.
initial_effect
(
c
)
function
c82760689
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
c82760689
.
activate
)
e1
:
SetOperation
(
c82760689
.
activate
)
...
...
c90075978.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c90075978
.
initial_effect
(
c
)
function
c90075978
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
0x1e0
)
e1
:
SetHintTiming
(
0
,
0x1e0
)
...
...
c90434926.lua
View file @
cb54f7a5
...
@@ -8,8 +8,9 @@ function c90434926.initial_effect(c)
...
@@ -8,8 +8,9 @@ function c90434926.initial_effect(c)
--draw
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
90434926
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
90434926
,
0
))
e2
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_DRAW
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
CATEGORY_TOGRAVE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_DRAW
)
e2
:
SetCode
(
EVENT_DRAW
)
e2
:
SetCondition
(
c90434926
.
drcon
)
e2
:
SetCondition
(
c90434926
.
drcon
)
e2
:
SetCost
(
c90434926
.
drcost
)
e2
:
SetCost
(
c90434926
.
drcost
)
...
...
c91110378.lua
View file @
cb54f7a5
...
@@ -11,7 +11,7 @@ function c91110378.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c91110378.initial_effect(c)
--spsummon
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
91110378
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
91110378
,
0
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DRAW
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
c9113513.lua
View file @
cb54f7a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c9113513
.
initial_effect
(
c
)
function
c9113513
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
c9113513
.
condition
)
e1
:
SetCondition
(
c9113513
.
condition
)
...
...
c95239444.lua
View file @
cb54f7a5
...
@@ -15,7 +15,7 @@ function c95239444.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c95239444.initial_effect(c)
--tograve
--tograve
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
95239444
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
95239444
,
1
))
e2
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e2
:
SetCategory
(
CATEGORY_
DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
c99429730.lua
View file @
cb54f7a5
...
@@ -3,7 +3,7 @@ function c99429730.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c99429730.initial_effect(c)
--deck
--deck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
99429730
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
99429730
,
0
))
e1
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_
DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
c99641328.lua
View file @
cb54f7a5
...
@@ -3,7 +3,7 @@ function c99641328.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c99641328.initial_effect(c)
--deck
--deck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
99641328
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
99641328
,
0
))
e1
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_
DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_FLIP
)
e1
:
SetCode
(
EVENT_FLIP
)
...
...
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