Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
d6202e39
Commit
d6202e39
authored
Feb 09, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Fluorohydride/ygopro-scripts
parents
47ce61bb
484db14c
Changes
61
Show whitespace changes
Inline
Side-by-side
Showing
61 changed files
with
90 additions
and
156 deletions
+90
-156
c10117149.lua
c10117149.lua
+1
-1
c11609969.lua
c11609969.lua
+1
-1
c13893596.lua
c13893596.lua
+1
-10
c15866454.lua
c15866454.lua
+1
-1
c16306932.lua
c16306932.lua
+1
-1
c17063599.lua
c17063599.lua
+2
-2
c17827173.lua
c17827173.lua
+1
-10
c18563744.lua
c18563744.lua
+1
-1
c18940725.lua
c18940725.lua
+1
-10
c19302550.lua
c19302550.lua
+1
-1
c19619755.lua
c19619755.lua
+1
-1
c20773176.lua
c20773176.lua
+1
-1
c21495657.lua
c21495657.lua
+1
-1
c22211622.lua
c22211622.lua
+1
-1
c22617205.lua
c22617205.lua
+1
-1
c23166823.lua
c23166823.lua
+1
-1
c28151978.lua
c28151978.lua
+1
-1
c28497830.lua
c28497830.lua
+1
-1
c303660.lua
c303660.lua
+1
-1
c37442336.lua
c37442336.lua
+1
-1
c37991342.lua
c37991342.lua
+1
-1
c3806388.lua
c3806388.lua
+1
-10
c40318957.lua
c40318957.lua
+1
-1
c4059313.lua
c4059313.lua
+1
-1
c40737112.lua
c40737112.lua
+1
-10
c42338879.lua
c42338879.lua
+1
-10
c42469671.lua
c42469671.lua
+1
-1
c44968459.lua
c44968459.lua
+1
-1
c46035545.lua
c46035545.lua
+1
-1
c46796664.lua
c46796664.lua
+1
-1
c47017574.lua
c47017574.lua
+1
-1
c47705572.lua
c47705572.lua
+1
-1
c51194046.lua
c51194046.lua
+1
-1
c52296675.lua
c52296675.lua
+3
-8
c54334420.lua
c54334420.lua
+1
-10
c55106249.lua
c55106249.lua
+1
-1
c56655675.lua
c56655675.lua
+1
-1
c57777714.lua
c57777714.lua
+1
-1
c58016954.lua
c58016954.lua
+1
-1
c58990362.lua
c58990362.lua
+1
-1
c59094601.lua
c59094601.lua
+2
-2
c64496451.lua
c64496451.lua
+1
-1
c65518099.lua
c65518099.lua
+1
-1
c68679595.lua
c68679595.lua
+1
-1
c7279373.lua
c7279373.lua
+1
-1
c7373632.lua
c7373632.lua
+1
-1
c74605254.lua
c74605254.lua
+1
-1
c77312273.lua
c77312273.lua
+1
-10
c79383919.lua
c79383919.lua
+1
-1
c79868386.lua
c79868386.lua
+1
-1
c80433039.lua
c80433039.lua
+1
-10
c84388461.lua
c84388461.lua
+1
-1
c85182315.lua
c85182315.lua
+2
-2
c87588741.lua
c87588741.lua
+1
-1
c90885155.lua
c90885155.lua
+1
-1
c91907707.lua
c91907707.lua
+1
-1
c92001300.lua
c92001300.lua
+1
-1
c95401059.lua
c95401059.lua
+1
-1
c96223501.lua
c96223501.lua
+1
-1
constant.lua
constant.lua
+1
-1
utility.lua
utility.lua
+25
-5
No files found.
c10117149.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c10117149.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c10117149.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c10117149
.
splimit
)
e2
:
SetTarget
(
c10117149
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c11609969.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c11609969.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c11609969.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c11609969
.
splimit
)
e2
:
SetTarget
(
c11609969
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c13893596.lua
View file @
d6202e39
...
@@ -34,13 +34,7 @@ function c13893596.initial_effect(c)
...
@@ -34,13 +34,7 @@ function c13893596.initial_effect(c)
e4
:
SetValue
(
c13893596
.
atkval
)
e4
:
SetValue
(
c13893596
.
atkval
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--redirect
--redirect
local
e5
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetCondition
(
c13893596
.
recon
)
e5
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e5
)
end
end
function
c13893596
.
cfilter
(
c
)
function
c13893596
.
cfilter
(
c
)
return
not
c
:
IsAbleToDeckOrExtraAsCost
()
return
not
c
:
IsAbleToDeckOrExtraAsCost
()
...
@@ -83,6 +77,3 @@ end
...
@@ -83,6 +77,3 @@ end
function
c13893596
.
atkval
(
e
,
c
)
function
c13893596
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
TYPE_NORMAL
)
*
1000
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
TYPE_NORMAL
)
*
1000
end
end
function
c13893596
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
c15866454.lua
View file @
d6202e39
...
@@ -5,7 +5,7 @@ function c15866454.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c15866454.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
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
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetTarget
(
c15866454
.
target
)
e1
:
SetTarget
(
c15866454
.
target
)
e1
:
SetOperation
(
c15866454
.
activate
)
e1
:
SetOperation
(
c15866454
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c16306932.lua
View file @
d6202e39
...
@@ -8,7 +8,7 @@ function c16306932.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c16306932.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c16306932
.
psplimit
)
e1
:
SetTarget
(
c16306932
.
psplimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c17063599.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c17063599.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c17063599.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
17063599
)
e1
:
SetCountLimit
(
1
,
17063599
)
e1
:
SetCondition
(
c17063599
.
spcon
)
e1
:
SetCondition
(
c17063599
.
spcon
)
...
@@ -17,7 +17,7 @@ function c17063599.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c17063599.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
17063599
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
17063599
,
1
))
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_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
17063600
)
e2
:
SetCountLimit
(
1
,
17063600
)
e2
:
SetCondition
(
c17063599
.
actcon
)
e2
:
SetCondition
(
c17063599
.
actcon
)
...
...
c17827173.lua
View file @
d6202e39
...
@@ -13,13 +13,7 @@ function c17827173.initial_effect(c)
...
@@ -13,13 +13,7 @@ function c17827173.initial_effect(c)
e1
:
SetOperation
(
c17827173
.
thop
)
e1
:
SetOperation
(
c17827173
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--redirect
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCondition
(
c17827173
.
recon
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
)
--to hand(self)
--to hand(self)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
17827173
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
17827173
,
1
))
...
@@ -73,9 +67,6 @@ function c17827173.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,9 +67,6 @@ function c17827173.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
c17827173
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
function
c17827173
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c17827173
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
eg
:
GetFirst
()
local
ec
=
eg
:
GetFirst
()
return
ec
:
IsControler
(
tp
)
and
ec
:
IsRace
(
RACE_WINDBEAST
)
return
ec
:
IsControler
(
tp
)
and
ec
:
IsRace
(
RACE_WINDBEAST
)
...
...
c18563744.lua
View file @
d6202e39
...
@@ -5,7 +5,7 @@ function c18563744.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c18563744.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
18563744
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
18563744
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCondition
(
aux
.
dscon
)
e1
:
SetCondition
(
aux
.
dscon
)
...
...
c18940725.lua
View file @
d6202e39
...
@@ -13,13 +13,7 @@ function c18940725.initial_effect(c)
...
@@ -13,13 +13,7 @@ function c18940725.initial_effect(c)
e1
:
SetOperation
(
c18940725
.
thop
)
e1
:
SetOperation
(
c18940725
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--redirect
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCondition
(
c18940725
.
recon
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
)
--to hand(self)
--to hand(self)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
18940725
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
18940725
,
1
))
...
@@ -74,9 +68,6 @@ function c18940725.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,9 +68,6 @@ function c18940725.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
c18940725
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
function
c18940725
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18940725
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
eg
:
GetFirst
()
local
ec
=
eg
:
GetFirst
()
return
ec
:
IsControler
(
tp
)
and
ec
:
IsRace
(
RACE_WINDBEAST
)
return
ec
:
IsControler
(
tp
)
and
ec
:
IsRace
(
RACE_WINDBEAST
)
...
...
c19302550.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c19302550.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c19302550.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c19302550
.
splimit
)
e1
:
SetTarget
(
c19302550
.
splimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c19619755.lua
View file @
d6202e39
...
@@ -16,7 +16,7 @@ function c19619755.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c19619755.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c19619755
.
splimit
)
e2
:
SetTarget
(
c19619755
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c20773176.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c20773176.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c20773176.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c20773176
.
splimit
)
e2
:
SetTarget
(
c20773176
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c21495657.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c21495657.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c21495657.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c21495657
.
splimit
)
e2
:
SetTarget
(
c21495657
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c22211622.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c22211622.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c22211622.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetCondition
(
c22211622
.
splimcon
)
e1
:
SetCondition
(
c22211622
.
splimcon
)
e1
:
SetTarget
(
c22211622
.
splimit
)
e1
:
SetTarget
(
c22211622
.
splimit
)
...
...
c22617205.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c22617205.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c22617205.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c22617205
.
splimit
)
e2
:
SetTarget
(
c22617205
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c23166823.lua
View file @
d6202e39
...
@@ -8,7 +8,7 @@ function c23166823.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c23166823.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c23166823
.
splimit
)
e2
:
SetTarget
(
c23166823
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c28151978.lua
View file @
d6202e39
...
@@ -5,7 +5,7 @@ function c28151978.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c28151978.initial_effect(c)
--splimit
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
...
...
c28497830.lua
View file @
d6202e39
...
@@ -43,7 +43,7 @@ function s.eqtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -43,7 +43,7 @@ function s.eqtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
0
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
0
,
LOCATION_MZONE
)
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
if
Duel
.
GetLP
(
tp
)
<
Duel
.
GetLP
(
1
-
tp
)
then
if
Duel
.
GetLP
(
tp
)
<
Duel
.
GetLP
(
1
-
tp
)
then
e
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
EFFECT_FLAG_DELAY
)
end
else
e
:
SetProperty
(
EFFECT_FLAG_DELAY
)
end
end
end
function
s
.
eqlimit
(
e
,
c
)
function
s
.
eqlimit
(
e
,
c
)
...
...
c303660.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c303660.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c303660.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
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
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetTarget
(
c303660
.
target
)
e1
:
SetTarget
(
c303660
.
target
)
e1
:
SetOperation
(
c303660
.
operation
)
e1
:
SetOperation
(
c303660
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c37442336.lua
View file @
d6202e39
...
@@ -18,7 +18,7 @@ function s.initial_effect(c)
...
@@ -18,7 +18,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTarget
(
s
.
distg
)
e2
:
SetTarget
(
s
.
distg
)
e2
:
SetOperation
(
s
.
disop
)
e2
:
SetOperation
(
s
.
disop
)
...
...
c37991342.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c37991342.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c37991342.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c37991342
.
splimit
)
e2
:
SetTarget
(
c37991342
.
splimit
)
...
...
c3806388.lua
View file @
d6202e39
...
@@ -30,13 +30,7 @@ function s.initial_effect(c)
...
@@ -30,13 +30,7 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
spop2
)
e2
:
SetOperation
(
s
.
spop2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--redirect
--redirect
local
e3
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCondition
(
s
.
recon
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
...
@@ -91,6 +85,3 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,6 +85,3 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
function
s
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
c40318957.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c40318957.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c40318957.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c40318957
.
splimit
)
e2
:
SetTarget
(
c40318957
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c4059313.lua
View file @
d6202e39
...
@@ -5,7 +5,7 @@ function c4059313.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c4059313.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetTarget
(
c4059313
.
target
)
e1
:
SetTarget
(
c4059313
.
target
)
e1
:
SetOperation
(
c4059313
.
activate
)
e1
:
SetOperation
(
c4059313
.
activate
)
...
...
c40737112.lua
View file @
d6202e39
...
@@ -24,13 +24,7 @@ function c40737112.initial_effect(c)
...
@@ -24,13 +24,7 @@ function c40737112.initial_effect(c)
e2
:
SetOperation
(
c40737112
.
rmop
)
e2
:
SetOperation
(
c40737112
.
rmop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--redirect
--redirect
local
e3
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCondition
(
c40737112
.
recon
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
)
if
not
c40737112
.
global_check
then
if
not
c40737112
.
global_check
then
c40737112
.
global_check
=
true
c40737112
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
...
@@ -82,6 +76,3 @@ function c40737112.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,6 +76,3 @@ function c40737112.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
bc
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
bc
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
end
function
c40737112
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
c42338879.lua
View file @
d6202e39
...
@@ -10,13 +10,7 @@ function c42338879.initial_effect(c)
...
@@ -10,13 +10,7 @@ function c42338879.initial_effect(c)
e1
:
SetOperation
(
c42338879
.
spop
)
e1
:
SetOperation
(
c42338879
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--redirect
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCondition
(
c42338879
.
recon
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
)
end
end
function
c42338879
.
spcon
(
e
,
c
)
function
c42338879
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -37,6 +31,3 @@ function c42338879.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -37,6 +31,3 @@ function c42338879.spop(e,tp,eg,ep,ev,re,r,rp,c)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c42338879
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
c42469671.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c42469671.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c42469671.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetCountLimit
(
1
,
42469671
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
42469671
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c42469671
.
descon
)
e1
:
SetCondition
(
c42469671
.
descon
)
...
...
c44968459.lua
View file @
d6202e39
...
@@ -5,7 +5,7 @@ function c44968459.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c44968459.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
44968459
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
44968459
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
c44968459
.
condition
)
e1
:
SetCondition
(
c44968459
.
condition
)
e1
:
SetTarget
(
c44968459
.
target
)
e1
:
SetTarget
(
c44968459
.
target
)
...
...
c46035545.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c46035545.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c46035545.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c46035545
.
splimit
)
e1
:
SetTarget
(
c46035545
.
splimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c46796664.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c46796664.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c46796664.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c46796664
.
splimit
)
e1
:
SetTarget
(
c46796664
.
splimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c47017574.lua
View file @
d6202e39
...
@@ -26,7 +26,7 @@ function c47017574.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c47017574.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
47017574
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
47017574
,
1
))
e3
:
SetCategory
(
CATEGORY_DISABLE
)
e3
:
SetCategory
(
CATEGORY_DISABLE
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c47017574
.
discon
)
e3
:
SetCondition
(
c47017574
.
discon
)
...
...
c47705572.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c47705572.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c47705572.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c47705572
.
splimit
)
e1
:
SetTarget
(
c47705572
.
splimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
c51194046.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c51194046.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c51194046.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c51194046
.
splimit
)
e2
:
SetTarget
(
c51194046
.
splimit
)
...
...
c52296675.lua
View file @
d6202e39
...
@@ -29,13 +29,7 @@ function c52296675.initial_effect(c)
...
@@ -29,13 +29,7 @@ function c52296675.initial_effect(c)
e3
:
SetCondition
(
c52296675
.
hspcon
)
e3
:
SetCondition
(
c52296675
.
hspcon
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--redirect
--redirect
local
e4
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
,
c52296675
.
recon
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetCondition
(
c52296675
.
recon
)
e4
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e4
)
end
end
function
c52296675
.
drfilter
(
c
)
function
c52296675
.
drfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
52296675
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
52296675
)
...
@@ -63,5 +57,6 @@ function c52296675.hspcon(e,c)
...
@@ -63,5 +57,6 @@ function c52296675.hspcon(e,c)
return
ct
==
Duel
.
GetMatchingGroupCount
(
c52296675
.
drfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
return
ct
==
Duel
.
GetMatchingGroupCount
(
c52296675
.
drfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
function
c52296675
.
recon
(
e
)
function
c52296675
.
recon
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
and
e
:
GetHandler
():
IsFaceup
()
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
()
end
end
c54334420.lua
View file @
d6202e39
...
@@ -13,13 +13,7 @@ function c54334420.initial_effect(c)
...
@@ -13,13 +13,7 @@ function c54334420.initial_effect(c)
e1
:
SetOperation
(
c54334420
.
thop
)
e1
:
SetOperation
(
c54334420
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--redirect
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCondition
(
c54334420
.
recon
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
)
--to hand(self)
--to hand(self)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
54334420
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
54334420
,
1
))
...
@@ -74,9 +68,6 @@ function c54334420.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,9 +68,6 @@ function c54334420.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
c54334420
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
function
c54334420
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c54334420
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
eg
:
GetFirst
()
local
ec
=
eg
:
GetFirst
()
return
ec
:
IsControler
(
tp
)
and
ec
:
IsRace
(
RACE_WINDBEAST
)
return
ec
:
IsControler
(
tp
)
and
ec
:
IsRace
(
RACE_WINDBEAST
)
...
...
c55106249.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c55106249.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c55106249.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c55106249
.
splimit
)
e2
:
SetTarget
(
c55106249
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c56655675.lua
View file @
d6202e39
...
@@ -40,7 +40,7 @@ function c56655675.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function c56655675.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCost
(
c56655675
.
discost
)
e1
:
SetCost
(
c56655675
.
discost
)
e1
:
SetTarget
(
c56655675
.
distg
)
e1
:
SetTarget
(
c56655675
.
distg
)
e1
:
SetOperation
(
c56655675
.
disop
)
e1
:
SetOperation
(
c56655675
.
disop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_
STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_
WITHOUT_TEMP_REMOVE
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
end
function
c56655675
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56655675
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c57777714.lua
View file @
d6202e39
...
@@ -8,7 +8,7 @@ function c57777714.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c57777714.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c57777714
.
splimit
)
e2
:
SetTarget
(
c57777714
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c58016954.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c58016954.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c58016954.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c58016954
.
splimit
)
e2
:
SetTarget
(
c58016954
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c58990362.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c58990362.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c58990362.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c58990362
.
splimit
)
e2
:
SetTarget
(
c58990362
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c59094601.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
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
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetTarget
(
s
.
target
)
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e2
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCost
(
aux
.
bfgcost
)
...
...
c64496451.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c64496451.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c64496451.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c64496451
.
splimit
)
e2
:
SetTarget
(
c64496451
.
splimit
)
...
...
c65518099.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c65518099.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c65518099.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c65518099
.
splimit
)
e2
:
SetTarget
(
c65518099
.
splimit
)
...
...
c68679595.lua
View file @
d6202e39
...
@@ -9,7 +9,7 @@ function c68679595.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c68679595.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c68679595
.
eqcost
)
e1
:
SetCost
(
c68679595
.
eqcost
)
e1
:
SetTarget
(
c68679595
.
eqtg
)
e1
:
SetTarget
(
c68679595
.
eqtg
)
...
...
c7279373.lua
View file @
d6202e39
...
@@ -5,7 +5,7 @@ function c7279373.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c7279373.initial_effect(c)
--splimit
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
...
...
c7373632.lua
View file @
d6202e39
...
@@ -4,7 +4,7 @@ function c7373632.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c7373632.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c7373632
.
target
)
e1
:
SetTarget
(
c7373632
.
target
)
e1
:
SetOperation
(
c7373632
.
activate
)
e1
:
SetOperation
(
c7373632
.
activate
)
...
...
c74605254.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c74605254.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c74605254.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c74605254
.
splimit
)
e2
:
SetTarget
(
c74605254
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c77312273.lua
View file @
d6202e39
...
@@ -30,13 +30,7 @@ function s.initial_effect(c)
...
@@ -30,13 +30,7 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
spop2
)
e2
:
SetOperation
(
s
.
spop2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--redirect
--redirect
local
e3
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCondition
(
s
.
recon
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
...
@@ -91,6 +85,3 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,6 +85,3 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
function
s
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
c79383919.lua
View file @
d6202e39
...
@@ -25,7 +25,7 @@ function c79383919.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -25,7 +25,7 @@ function c79383919.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsExistingMatchingCard
(
c79383919
.
filter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
then
and
Duel
.
IsExistingMatchingCard
(
c79383919
.
filter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
else
e
:
SetProperty
(
0
)
e
:
SetProperty
(
0
)
end
end
...
...
c79868386.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c79868386.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c79868386.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DISABLE
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DISABLE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetCountLimit
(
1
,
79868386
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
79868386
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c79868386
.
condition
)
e1
:
SetCondition
(
c79868386
.
condition
)
...
...
c80433039.lua
View file @
d6202e39
...
@@ -13,13 +13,7 @@ function c80433039.initial_effect(c)
...
@@ -13,13 +13,7 @@ function c80433039.initial_effect(c)
e1
:
SetOperation
(
c80433039
.
rmop
)
e1
:
SetOperation
(
c80433039
.
rmop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--redirect
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
aux
.
AddBanishRedirect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCondition
(
c80433039
.
recon
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
)
--to hand(self)
--to hand(self)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
80433039
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
80433039
,
1
))
...
@@ -70,9 +64,6 @@ function c80433039.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,9 +64,6 @@ function c80433039.rmop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
c80433039
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
function
c80433039
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80433039
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
eg
:
GetFirst
()
local
ec
=
eg
:
GetFirst
()
return
ec
:
IsControler
(
tp
)
and
ec
:
IsRace
(
RACE_WINDBEAST
)
return
ec
:
IsControler
(
tp
)
and
ec
:
IsRace
(
RACE_WINDBEAST
)
...
...
c84388461.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c84388461.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c84388461.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c84388461
.
splimit
)
e2
:
SetTarget
(
c84388461
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c85182315.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetTarget
(
s
.
target
)
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_RELEASE
)
e2
:
SetCode
(
EVENT_RELEASE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
rmcon
)
e2
:
SetCondition
(
s
.
rmcon
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCost
(
aux
.
bfgcost
)
...
...
c87588741.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c87588741.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c87588741.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c87588741
.
splimit
)
e2
:
SetTarget
(
c87588741
.
splimit
)
...
...
c90885155.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c90885155.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c90885155.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c90885155
.
splimit
)
e2
:
SetTarget
(
c90885155
.
splimit
)
...
...
c91907707.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c91907707.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c91907707.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c91907707
.
splimit
)
e2
:
SetTarget
(
c91907707
.
splimit
)
...
...
c92001300.lua
View file @
d6202e39
...
@@ -49,6 +49,6 @@ function c92001300.sumcon(e,c,minc)
...
@@ -49,6 +49,6 @@ function c92001300.sumcon(e,c,minc)
return
ma
>
0
and
e
:
GetHandler
():
GetCounter
(
0xb
)
>=
mi
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
ma
>
0
and
e
:
GetHandler
():
GetCounter
(
0xb
)
>=
mi
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
end
function
c92001300
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c92001300
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_SUMMON
)
c
:
SetMaterial
(
Group
.
FromCards
(
e
:
GetHandler
()))
c
:
SetMaterial
(
Group
.
FromCards
(
e
:
GetHandler
()))
Duel
.
Release
(
e
:
GetHandler
(),
REASON_SUMMON
)
end
end
c95401059.lua
View file @
d6202e39
...
@@ -7,7 +7,7 @@ function c95401059.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c95401059.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c95401059
.
splimit
)
e2
:
SetTarget
(
c95401059
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c96223501.lua
View file @
d6202e39
...
@@ -6,7 +6,7 @@ function c96223501.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c96223501.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c96223501
.
splimit
)
e2
:
SetTarget
(
c96223501
.
splimit
)
...
...
constant.lua
View file @
d6202e39
...
@@ -312,7 +312,7 @@ EFFECT_FLAG_IGNORE_RANGE =0x0020 --影响所有区域的卡(大宇宙)
...
@@ -312,7 +312,7 @@ EFFECT_FLAG_IGNORE_RANGE =0x0020 --影响所有区域的卡(大宇宙)
EFFECT_FLAG_ABSOLUTE_TARGET
=
0x0040
--Target Range固定為某個玩家的視角所見的自己/對方(SetAbsoluteRange()專用)
EFFECT_FLAG_ABSOLUTE_TARGET
=
0x0040
--Target Range固定為某個玩家的視角所見的自己/對方(SetAbsoluteRange()專用)
EFFECT_FLAG_IGNORE_IMMUNE
=
0x0080
--无视效果免疫
EFFECT_FLAG_IGNORE_IMMUNE
=
0x0080
--无视效果免疫
EFFECT_FLAG_SET_AVAILABLE
=
0x0100
--裡側狀態可發動的效果、影响场上里侧的卡的永續型效果
EFFECT_FLAG_SET_AVAILABLE
=
0x0100
--裡側狀態可發動的效果、影响场上里侧的卡的永續型效果
EFFECT_FLAG_CAN
NOT_NEGATE
=
0x0200
--含有"此效果不會被無效"的敘述
EFFECT_FLAG_CAN
_FORBIDDEN
=
0x0200
--可被禁止令停止適用的效果(與EFFECT_FLAG_CANNOT_DISABLE並用)
EFFECT_FLAG_CANNOT_DISABLE
=
0x0400
--效果不会被无效
EFFECT_FLAG_CANNOT_DISABLE
=
0x0400
--效果不会被无效
EFFECT_FLAG_PLAYER_TARGET
=
0x0800
--含有"以玩家为对象"的特性(精靈之鏡)、影響玩家的永續型效果(SetTargetRange()改成指定玩家)
EFFECT_FLAG_PLAYER_TARGET
=
0x0800
--含有"以玩家为对象"的特性(精靈之鏡)、影響玩家的永續型效果(SetTargetRange()改成指定玩家)
EFFECT_FLAG_BOTH_SIDE
=
0x1000
--双方都能使用(部分场地,弹压)
EFFECT_FLAG_BOTH_SIDE
=
0x1000
--双方都能使用(部分场地,弹压)
...
...
utility.lua
View file @
d6202e39
...
@@ -468,7 +468,7 @@ function Auxiliary.IsMaterialListCode(c,code)
...
@@ -468,7 +468,7 @@ function Auxiliary.IsMaterialListCode(c,code)
end
end
function
Auxiliary
.
IsMaterialListSetCard
(
c
,
setcode
)
function
Auxiliary
.
IsMaterialListSetCard
(
c
,
setcode
)
if
not
c
.
material_setcode
then
return
false
end
if
not
c
.
material_setcode
then
return
false
end
if
type
(
c
.
material_setcode
)
==
'table'
then
if
type
(
c
.
material_setcode
)
==
"table"
then
for
i
,
scode
in
ipairs
(
c
.
material_setcode
)
do
for
i
,
scode
in
ipairs
(
c
.
material_setcode
)
do
if
setcode
&
0xfff
==
scode
&
0xfff
and
setcode
&
scode
==
setcode
then
return
true
end
if
setcode
&
0xfff
==
scode
&
0xfff
and
setcode
&
scode
==
setcode
then
return
true
end
end
end
...
@@ -1079,7 +1079,7 @@ end
...
@@ -1079,7 +1079,7 @@ end
---@param f function
---@param f function
---@param min? integer
---@param min? integer
---@param max? integer
---@param max? integer
---@param ...
? unknown
---@param ...
any
---@return boolean
---@return boolean
function
Group
.
CheckSubGroup
(
g
,
f
,
min
,
max
,
...
)
function
Group
.
CheckSubGroup
(
g
,
f
,
min
,
max
,
...
)
min
=
min
or
1
min
=
min
or
1
...
@@ -1104,7 +1104,7 @@ end
...
@@ -1104,7 +1104,7 @@ end
---@param cancelable boolean
---@param cancelable boolean
---@param min? integer
---@param min? integer
---@param max? integer
---@param max? integer
---@param ...
? unknown
---@param ...
any
---@return Group|nil
---@return Group|nil
function
Group
.
SelectSubGroup
(
g
,
tp
,
f
,
cancelable
,
min
,
max
,
...
)
function
Group
.
SelectSubGroup
(
g
,
tp
,
f
,
cancelable
,
min
,
max
,
...
)
Auxiliary
.
SubGroupCaptured
=
Group
.
CreateGroup
()
Auxiliary
.
SubGroupCaptured
=
Group
.
CreateGroup
()
...
@@ -1187,7 +1187,7 @@ end
...
@@ -1187,7 +1187,7 @@ end
---@param g Group
---@param g Group
---@param checks table
---@param checks table
---@param f? function
---@param f? function
---@param ...
? unknown
---@param ...
any
---@return boolean
---@return boolean
function
Group
.
CheckSubGroupEach
(
g
,
checks
,
f
,
...
)
function
Group
.
CheckSubGroupEach
(
g
,
checks
,
f
,
...
)
if
f
==
nil
then
f
=
Auxiliary
.
TRUE
end
if
f
==
nil
then
f
=
Auxiliary
.
TRUE
end
...
@@ -1202,7 +1202,7 @@ end
...
@@ -1202,7 +1202,7 @@ end
---@param checks table
---@param checks table
---@param cancelable? boolean
---@param cancelable? boolean
---@param f? function
---@param f? function
---@param ...
? unknown
---@param ...
any
---@return Group|nil
---@return Group|nil
function
Group
.
SelectSubGroupEach
(
g
,
tp
,
checks
,
cancelable
,
f
,
...
)
function
Group
.
SelectSubGroupEach
(
g
,
tp
,
checks
,
cancelable
,
f
,
...
)
if
cancelable
==
nil
then
cancelable
=
false
end
if
cancelable
==
nil
then
cancelable
=
false
end
...
@@ -1524,3 +1524,23 @@ function Auxiliary.GiveUpNormalDraw(e,tp,property)
...
@@ -1524,3 +1524,23 @@ function Auxiliary.GiveUpNormalDraw(e,tp,property)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
FLAG_ID_NO_NORMAL_DRAW
,
RESET_PHASE
+
PHASE_DRAW
,
property
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
FLAG_ID_NO_NORMAL_DRAW
,
RESET_PHASE
+
PHASE_DRAW
,
property
,
1
)
end
end
---If this face-up card would leave the field, banish it instead.
---@param c Card
---@param condition? function
function
Auxiliary
.
AddBanishRedirect
(
c
,
condition
)
if
type
(
condition
)
~=
"function"
then
condition
=
Auxiliary
.
BanishRedirectCondition
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN_FORBIDDEN
)
e1
:
SetCondition
(
condition
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
)
end
---
---@param e Effect
function
Auxiliary
.
BanishRedirectCondition
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
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