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
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
MyCard
ygopro-scripts
Commits
133a6319
Commit
133a6319
authored
Feb 09, 2017
by
mercury233
Committed by
DailyShana
Feb 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix category (#799)
* fix * fix
parent
2e9a71e3
Changes
39
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
44 additions
and
32 deletions
+44
-32
c10456559.lua
c10456559.lua
+1
-1
c10759529.lua
c10759529.lua
+1
-0
c11317977.lua
c11317977.lua
+2
-2
c17330916.lua
c17330916.lua
+1
-0
c22765132.lua
c22765132.lua
+1
-0
c24384095.lua
c24384095.lua
+1
-1
c27918963.lua
c27918963.lua
+1
-1
c27970830.lua
c27970830.lua
+1
-1
c34116027.lua
c34116027.lua
+1
-1
c34968834.lua
c34968834.lua
+3
-0
c46239604.lua
c46239604.lua
+1
-1
c4939890.lua
c4939890.lua
+2
-2
c51043243.lua
c51043243.lua
+1
-1
c55969226.lua
c55969226.lua
+1
-1
c59048135.lua
c59048135.lua
+1
-0
c60470713.lua
c60470713.lua
+2
-1
c60549248.lua
c60549248.lua
+1
-0
c60953949.lua
c60953949.lua
+1
-1
c62038047.lua
c62038047.lua
+1
-1
c64280356.lua
c64280356.lua
+1
-1
c66127916.lua
c66127916.lua
+1
-1
c67111213.lua
c67111213.lua
+1
-1
c71519605.lua
c71519605.lua
+1
-1
c73431236.lua
c73431236.lua
+1
-1
c75434695.lua
c75434695.lua
+1
-1
c77565204.lua
c77565204.lua
+1
-1
c85489096.lua
c85489096.lua
+1
-1
c86120751.lua
c86120751.lua
+1
-1
c86541496.lua
c86541496.lua
+1
-1
c89732524.lua
c89732524.lua
+1
-1
c90361010.lua
c90361010.lua
+1
-1
c91279700.lua
c91279700.lua
+1
-0
c92784374.lua
c92784374.lua
+1
-1
c94243005.lua
c94243005.lua
+1
-1
c94585852.lua
c94585852.lua
+1
-1
c94681654.lua
c94681654.lua
+1
-1
c96384007.lua
c96384007.lua
+1
-1
c97970833.lua
c97970833.lua
+1
-0
c98301564.lua
c98301564.lua
+1
-0
No files found.
c10456559.lua
View file @
133a6319
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c10456559
.
initial_effect
(
c
)
function
c10456559
.
initial_effect
(
c
)
--add
--add
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetDescription
(
aux
.
Stringid
(
10456559
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
10456559
,
0
))
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
...
...
c10759529.lua
View file @
133a6319
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c10759529
.
initial_effect
(
c
)
function
c10759529
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
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
(
c10759529
.
condition
)
e1
:
SetCondition
(
c10759529
.
condition
)
...
...
c11317977.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c11317977.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c11317977.initial_effect(c)
--tohand
--tohand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
11317977
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
11317977
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCost
(
c11317977
.
cost
)
e1
:
SetCost
(
c11317977
.
cost
)
...
@@ -13,7 +13,7 @@ function c11317977.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c11317977.initial_effect(c)
--search
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
11317977
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
11317977
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCost
(
c11317977
.
cost
)
e2
:
SetCost
(
c11317977
.
cost
)
...
...
c17330916.lua
View file @
133a6319
...
@@ -34,6 +34,7 @@ function c17330916.initial_effect(c)
...
@@ -34,6 +34,7 @@ function c17330916.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--to hand
--to hand
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetRange
(
LOCATION_PZONE
)
e5
:
SetRange
(
LOCATION_PZONE
)
e5
:
SetCountLimit
(
1
,
17330916
)
e5
:
SetCountLimit
(
1
,
17330916
)
...
...
c22765132.lua
View file @
133a6319
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c22765132
.
initial_effect
(
c
)
function
c22765132
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
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
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
c24384095.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c24384095.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c24384095.initial_effect(c)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
24384095
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
24384095
,
0
))
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
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
c27918963.lua
View file @
133a6319
...
@@ -62,7 +62,7 @@ function c27918963.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -62,7 +62,7 @@ function c27918963.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x33
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x33
,
1
,
REASON_COST
)
else
else
e
:
SetCategory
(
CATEGORY_TOHAND
)
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x33
,
3
,
REASON_COST
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x33
,
3
,
REASON_COST
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
end
...
...
c27970830.lua
View file @
133a6319
...
@@ -29,7 +29,7 @@ function c27970830.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c27970830.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--search
--search
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetCategory
(
CATEGORY_TOHAND
)
e5
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e5
:
SetDescription
(
aux
.
Stringid
(
27970830
,
1
))
e5
:
SetDescription
(
aux
.
Stringid
(
27970830
,
1
))
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetRange
(
LOCATION_SZONE
)
...
...
c34116027.lua
View file @
133a6319
...
@@ -6,7 +6,7 @@ function c34116027.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c34116027.initial_effect(c)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
34116027
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
34116027
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_HANDES
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
SEARCH
+
CATEGORY_
HANDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
c34968834.lua
View file @
133a6319
...
@@ -18,6 +18,9 @@ end
...
@@ -18,6 +18,9 @@ end
function
c34968834
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c34968834
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
if
rp
~=
tp
and
tp
==
e
:
GetLabel
()
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
end
function
c34968834
.
filter
(
c
,
e
,
tp
)
function
c34968834
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_FIEND
)
return
c
:
IsRace
(
RACE_FIEND
)
...
...
c46239604.lua
View file @
133a6319
...
@@ -11,7 +11,7 @@ function c46239604.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c46239604.initial_effect(c)
--search
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
46239604
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
46239604
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
c4939890.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c4939890.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c4939890.initial_effect(c)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
4939890
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
4939890
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
4939890
)
e1
:
SetCountLimit
(
1
,
4939890
)
...
@@ -14,7 +14,7 @@ function c4939890.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c4939890.initial_effect(c)
--tohand
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
4939890
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
4939890
,
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
)
...
...
c51043243.lua
View file @
133a6319
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c51043243
.
initial_effect
(
c
)
function
c51043243
.
initial_effect
(
c
)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_SINGLE
)
e1
:
SetTarget
(
c51043243
.
tg
)
e1
:
SetTarget
(
c51043243
.
tg
)
e1
:
SetOperation
(
c51043243
.
op
)
e1
:
SetOperation
(
c51043243
.
op
)
...
...
c55969226.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c55969226.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c55969226.initial_effect(c)
--tohand
--tohand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
55969226
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
55969226
,
0
))
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
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
c59048135.lua
View file @
133a6319
...
@@ -8,6 +8,7 @@ function c59048135.initial_effect(c)
...
@@ -8,6 +8,7 @@ function c59048135.initial_effect(c)
--search
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
59048135
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
59048135
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
...
c60470713.lua
View file @
133a6319
...
@@ -8,7 +8,7 @@ function c60470713.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c60470713.initial_effect(c)
--search
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
60470713
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
60470713
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_S
EARCH
+
CATEGORY_S
PECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
,
60470713
)
e2
:
SetCountLimit
(
1
,
60470713
)
...
@@ -32,6 +32,7 @@ end
...
@@ -32,6 +32,7 @@ end
function
c60470713
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c60470713
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
0
,
tp
,
LOCATION_DECK
)
end
end
function
c60470713
.
mfilter
(
c
)
function
c60470713
.
mfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x71
)
and
c
:
IsRace
(
RACE_FAIRY
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x71
)
and
c
:
IsRace
(
RACE_FAIRY
)
...
...
c60549248.lua
View file @
133a6319
...
@@ -3,6 +3,7 @@ function c60549248.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c60549248.initial_effect(c)
--tohand
--tohand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
60549248
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
60549248
,
0
))
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
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
...
...
c60953949.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c60953949.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c60953949.initial_effect(c)
--tohand
--tohand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
60953949
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
60953949
,
0
))
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
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCode
(
EVENT_TO_HAND
)
...
...
c62038047.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c62038047.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c62038047.initial_effect(c)
--to hand
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
62038047
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
62038047
,
0
))
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_BE_MATERIAL
)
e1
:
SetCode
(
EVENT_BE_MATERIAL
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
c64280356.lua
View file @
133a6319
...
@@ -16,7 +16,7 @@ function c64280356.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c64280356.initial_effect(c)
--to hand
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
64280356
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
64280356
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
TOGRAVE
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
SEARCH
+
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
c66127916.lua
View file @
133a6319
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c66127916
.
initial_effect
(
c
)
function
c66127916
.
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
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
c67111213.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c67111213.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c67111213.initial_effect(c)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
67111213
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
67111213
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
c71519605.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c71519605.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c71519605.initial_effect(c)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
71519605
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
71519605
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCondition
(
c71519605
.
condition
)
e1
:
SetCondition
(
c71519605
.
condition
)
...
...
c73431236.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c73431236.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c73431236.initial_effect(c)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
73431236
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
73431236
,
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
:
SetTarget
(
c73431236
.
target
)
e1
:
SetTarget
(
c73431236
.
target
)
e1
:
SetOperation
(
c73431236
.
operation
)
e1
:
SetOperation
(
c73431236
.
operation
)
...
...
c75434695.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c75434695.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c75434695.initial_effect(c)
--to hand
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
75434695
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
75434695
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
...
...
c77565204.lua
View file @
133a6319
...
@@ -8,7 +8,7 @@ function c77565204.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c77565204.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Turn 1
--Turn 1
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e2
:
SetCategory
(
CATEGORY_
DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
...
...
c85489096.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c85489096.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c85489096.initial_effect(c)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
85489096
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
85489096
,
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
:
SetTarget
(
c85489096
.
target
)
e1
:
SetTarget
(
c85489096
.
target
)
e1
:
SetOperation
(
c85489096
.
operation
)
e1
:
SetOperation
(
c85489096
.
operation
)
...
...
c86120751.lua
View file @
133a6319
...
@@ -17,7 +17,7 @@ function c86120751.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c86120751.initial_effect(c)
--search
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
86120751
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
86120751
,
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
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
c86541496.lua
View file @
133a6319
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c86541496
.
initial_effect
(
c
)
function
c86541496
.
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
:
SetCost
(
c86541496
.
cost
)
e1
:
SetCost
(
c86541496
.
cost
)
...
...
c89732524.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c89732524.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c89732524.initial_effect(c)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
89732524
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
89732524
,
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
:
SetTarget
(
c89732524
.
target
)
e1
:
SetTarget
(
c89732524
.
target
)
e1
:
SetOperation
(
c89732524
.
operation
)
e1
:
SetOperation
(
c89732524
.
operation
)
...
...
c90361010.lua
View file @
133a6319
...
@@ -13,7 +13,7 @@ function c90361010.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c90361010.initial_effect(c)
--tohand
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
90361010
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
90361010
,
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_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
c91279700.lua
View file @
133a6319
...
@@ -16,6 +16,7 @@ function c91279700.initial_effect(c)
...
@@ -16,6 +16,7 @@ function c91279700.initial_effect(c)
--search
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
91279700
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
91279700
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
c92784374.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c92784374.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c92784374.initial_effect(c)
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
92784374
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
92784374
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetTarget
(
c92784374
.
tg
)
e1
:
SetTarget
(
c92784374
.
tg
)
...
...
c94243005.lua
View file @
133a6319
...
@@ -26,7 +26,7 @@ function c94243005.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c94243005.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--search
--search
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetDescription
(
aux
.
Stringid
(
94243005
,
1
))
e4
:
SetDescription
(
aux
.
Stringid
(
94243005
,
1
))
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
...
...
c94585852.lua
View file @
133a6319
...
@@ -23,7 +23,7 @@ function c94585852.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c94585852.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
94585852
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
94585852
,
0
))
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_EVENT_PLAYER
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_EVENT_PLAYER
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetCode
(
EVENT_CUSTOM
+
94585852
)
e4
:
SetCode
(
EVENT_CUSTOM
+
94585852
)
...
...
c94681654.lua
View file @
133a6319
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c94681654
.
initial_effect
(
c
)
function
c94681654
.
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
:
SetCost
(
c94681654
.
cost
)
e1
:
SetCost
(
c94681654
.
cost
)
...
...
c96384007.lua
View file @
133a6319
...
@@ -3,7 +3,7 @@ function c96384007.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c96384007.initial_effect(c)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
96384007
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
96384007
,
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
:
SetTarget
(
c96384007
.
target
)
e1
:
SetTarget
(
c96384007
.
target
)
e1
:
SetOperation
(
c96384007
.
operation
)
e1
:
SetOperation
(
c96384007
.
operation
)
...
...
c97970833.lua
View file @
133a6319
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c97970833
.
initial_effect
(
c
)
function
c97970833
.
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_ATTACK_ANNOUNCE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCondition
(
c97970833
.
condition
)
e1
:
SetCondition
(
c97970833
.
condition
)
...
...
c98301564.lua
View file @
133a6319
...
@@ -20,6 +20,7 @@ function c98301564.initial_effect(c)
...
@@ -20,6 +20,7 @@ function c98301564.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--search
--search
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
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