Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nemo Ma
no81cards
Commits
a7fb2adc
Commit
a7fb2adc
authored
Feb 08, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e0f82804
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
18 additions
and
18 deletions
+18
-18
expansions/script/c9910080.lua
expansions/script/c9910080.lua
+1
-1
expansions/script/c9910182.lua
expansions/script/c9910182.lua
+1
-1
expansions/script/c9910184.lua
expansions/script/c9910184.lua
+1
-1
expansions/script/c9910264.lua
expansions/script/c9910264.lua
+1
-1
expansions/script/c9910268.lua
expansions/script/c9910268.lua
+1
-1
expansions/script/c9910868.lua
expansions/script/c9910868.lua
+1
-1
expansions/script/c9910923.lua
expansions/script/c9910923.lua
+1
-1
expansions/script/c9910926.lua
expansions/script/c9910926.lua
+1
-1
expansions/script/c9910929.lua
expansions/script/c9910929.lua
+1
-1
expansions/script/c9910931.lua
expansions/script/c9910931.lua
+1
-1
expansions/script/c9911014.lua
expansions/script/c9911014.lua
+1
-1
expansions/script/c9911021.lua
expansions/script/c9911021.lua
+1
-1
expansions/script/c9911201.lua
expansions/script/c9911201.lua
+1
-1
expansions/script/c9911218.lua
expansions/script/c9911218.lua
+1
-1
expansions/script/c9911223.lua
expansions/script/c9911223.lua
+1
-1
expansions/script/c9911224.lua
expansions/script/c9911224.lua
+1
-1
expansions/script/c9911231.lua
expansions/script/c9911231.lua
+1
-1
expansions/script/c9911565.lua
expansions/script/c9911565.lua
+1
-1
No files found.
expansions/script/c9910080.lua
View file @
a7fb2adc
...
@@ -50,7 +50,7 @@ function c9910080.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c9910080.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsAttribute
,
nil
,
ATTRIBUTE_LIGHT
+
ATTRIBUTE_DARK
)
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsAttribute
,
nil
,
ATTRIBUTE_LIGHT
+
ATTRIBUTE_DARK
)
if
ct
==
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
(
true
)
then
if
ct
==
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
...
...
expansions/script/c9910182.lua
View file @
a7fb2adc
...
@@ -50,7 +50,7 @@ function c9910182.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c9910182.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
rc
)
Duel
.
ConfirmCards
(
1
-
tp
,
rc
)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
c
:
CancelToGrave
()
c
:
CancelToGrave
()
local
b1
=
c
:
IsSSetable
(
true
)
local
b1
=
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
local
b2
=
c
:
IsAbleToDeck
()
local
b2
=
c
:
IsAbleToDeck
()
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910182
,
0
),
aux
.
Stringid
(
9910182
,
1
))
==
0
)
then
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910182
,
0
),
aux
.
Stringid
(
9910182
,
1
))
==
0
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
expansions/script/c9910184.lua
View file @
a7fb2adc
...
@@ -57,7 +57,7 @@ function c9910184.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c9910184.activate(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsRelateToEffect
(
e
)
then
and
c
:
IsRelateToEffect
(
e
)
then
c
:
CancelToGrave
()
c
:
CancelToGrave
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c9910184
.
thfilter
),
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c9910184
.
thfilter
),
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
b1
=
c
:
IsSSetable
(
true
)
local
b1
=
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
local
b2
=
c
:
IsAbleToDeck
()
and
g
:
GetCount
()
>
0
local
b2
=
c
:
IsAbleToDeck
()
and
g
:
GetCount
()
>
0
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910184
,
0
),
aux
.
Stringid
(
9910184
,
1
))
==
0
)
then
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910184
,
0
),
aux
.
Stringid
(
9910184
,
1
))
==
0
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
expansions/script/c9910264.lua
View file @
a7fb2adc
...
@@ -53,7 +53,7 @@ function c9910264.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c9910264.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
else
else
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
(
true
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
then
if
chk
then
Duel
.
BreakEffect
()
end
if
chk
then
Duel
.
BreakEffect
()
end
c
:
CancelToGrave
()
c
:
CancelToGrave
()
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
...
...
expansions/script/c9910268.lua
View file @
a7fb2adc
...
@@ -89,7 +89,7 @@ function c9910268.activate2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,7 +89,7 @@ function c9910268.activate2(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
end
end
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
(
true
)
if
c
:
IsRelateToEffect
(
e
)
and
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
and
Duel
.
IsExistingMatchingCard
(
c9910268
.
cfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
and
Duel
.
IsExistingMatchingCard
(
c9910268
.
cfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
c
:
CancelToGrave
()
c
:
CancelToGrave
()
...
...
expansions/script/c9910868.lua
View file @
a7fb2adc
...
@@ -56,7 +56,7 @@ function c9910868.settg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -56,7 +56,7 @@ function c9910868.settg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c9910868
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910868
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsSSetable
(
true
)
then
if
rc
:
IsRelateToEffect
(
re
)
and
rc
:
Is
Faceup
()
and
rc
:
Is
SSetable
(
true
)
then
rc
:
CancelToGrave
()
rc
:
CancelToGrave
()
if
Duel
.
ChangePosition
(
rc
,
POS_FACEDOWN
)
==
0
then
return
end
if
Duel
.
ChangePosition
(
rc
,
POS_FACEDOWN
)
==
0
then
return
end
Duel
.
RaiseEvent
(
rc
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
Duel
.
RaiseEvent
(
rc
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
...
...
expansions/script/c9910923.lua
View file @
a7fb2adc
...
@@ -44,7 +44,7 @@ function c9910923.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c9910923.activate(e,tp,eg,ep,ev,re,r,rp)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
Duel
.
NegateEffect
(
ev
)
and
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
NegateEffect
(
ev
)
and
c
:
IsRelateToEffect
(
e
)
then
c
:
CancelToGrave
()
c
:
CancelToGrave
()
local
b1
=
c
:
IsSSetable
(
true
)
local
b1
=
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
local
b2
=
c
:
IsAbleToDeck
()
and
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsLocation
(
LOCATION_MZONE
)
local
b2
=
c
:
IsAbleToDeck
()
and
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsControler
(
1
-
tp
)
and
rc
:
IsControlerCanBeChanged
()
and
rc
:
IsControler
(
1
-
tp
)
and
rc
:
IsControlerCanBeChanged
()
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910923
,
0
),
aux
.
Stringid
(
9910923
,
1
))
==
0
)
then
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910923
,
0
),
aux
.
Stringid
(
9910923
,
1
))
==
0
)
then
...
...
expansions/script/c9910926.lua
View file @
a7fb2adc
...
@@ -58,7 +58,7 @@ function c9910926.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function c9910926.activate(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
c
:
CancelToGrave
()
c
:
CancelToGrave
()
local
sg
=
eg
:
Filter
(
c9910926
.
cfilter2
,
nil
,
tp
,
e
)
local
sg
=
eg
:
Filter
(
c9910926
.
cfilter2
,
nil
,
tp
,
e
)
local
b1
=
c
:
IsSSetable
(
true
)
local
b1
=
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
local
b2
=
c
:
IsAbleToDeck
()
and
sg
:
GetCount
()
>
0
local
b2
=
c
:
IsAbleToDeck
()
and
sg
:
GetCount
()
>
0
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910926
,
0
),
aux
.
Stringid
(
9910926
,
1
))
==
0
)
then
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910926
,
0
),
aux
.
Stringid
(
9910926
,
1
))
==
0
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
expansions/script/c9910929.lua
View file @
a7fb2adc
...
@@ -44,7 +44,7 @@ function c9910929.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c9910929.activate(e,tp,eg,ep,ev,re,r,rp)
if
rc
:
IsRelateToEffect
(
re
)
and
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
rc
:
IsLocation
(
LOCATION_REMOVED
)
if
rc
:
IsRelateToEffect
(
re
)
and
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
rc
:
IsLocation
(
LOCATION_REMOVED
)
and
c
:
IsRelateToEffect
(
e
)
then
and
c
:
IsRelateToEffect
(
e
)
then
c
:
CancelToGrave
()
c
:
CancelToGrave
()
local
b1
=
c
:
IsSSetable
(
true
)
local
b1
=
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
local
b2
=
c
:
IsAbleToDeck
()
and
not
rc
:
IsReason
(
REASON_REDIRECT
)
local
b2
=
c
:
IsAbleToDeck
()
and
not
rc
:
IsReason
(
REASON_REDIRECT
)
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910929
,
0
),
aux
.
Stringid
(
9910929
,
1
))
==
0
)
then
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910929
,
0
),
aux
.
Stringid
(
9910929
,
1
))
==
0
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
expansions/script/c9910931.lua
View file @
a7fb2adc
...
@@ -53,7 +53,7 @@ function c9910931.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c9910931.activate(e,tp,eg,ep,ev,re,r,rp)
and
ct
>
0
and
Duel
.
Damage
(
1
-
tp
,
ct
*
300
,
REASON_EFFECT
)
~=
0
and
c
:
IsRelateToEffect
(
e
)
then
and
ct
>
0
and
Duel
.
Damage
(
1
-
tp
,
ct
*
300
,
REASON_EFFECT
)
~=
0
and
c
:
IsRelateToEffect
(
e
)
then
c
:
CancelToGrave
()
c
:
CancelToGrave
()
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
local
b1
=
c
:
IsSSetable
(
true
)
local
b1
=
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
local
b2
=
c
:
IsAbleToDeck
()
and
g
:
GetCount
()
>
0
local
b2
=
c
:
IsAbleToDeck
()
and
g
:
GetCount
()
>
0
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910931
,
0
),
aux
.
Stringid
(
9910931
,
1
))
==
0
)
then
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9910931
,
0
),
aux
.
Stringid
(
9910931
,
1
))
==
0
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
expansions/script/c9911014.lua
View file @
a7fb2adc
...
@@ -66,7 +66,7 @@ function c9911014.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function c9911014.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
if
#
sg
==
0
or
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
==
0
then
return
end
if
#
sg
==
0
or
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
==
0
then
return
end
local
dg
=
Duel
.
GetOperatedGroup
():
Filter
(
c9911014
.
disfilter
,
nil
)
local
dg
=
Duel
.
GetOperatedGroup
():
Filter
(
c9911014
.
disfilter
,
nil
)
if
(
lab
==
1
or
lab
==
3
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
(
true
)
if
(
lab
==
1
or
lab
==
3
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9911014
,
0
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9911014
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
c
:
CancelToGrave
()
c
:
CancelToGrave
()
...
...
expansions/script/c9911021.lua
View file @
a7fb2adc
...
@@ -70,7 +70,7 @@ function c9911021.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function c9911021.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
if
res
and
Duel
.
Release
(
tc
,
REASON_EFFECT
)
>
0
then
res
=
true
end
if
res
and
Duel
.
Release
(
tc
,
REASON_EFFECT
)
>
0
then
res
=
true
end
if
res
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
==
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
if
res
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
==
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
(
true
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9911021
,
0
))
then
and
c
:
IsRelateToEffect
(
e
)
and
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9911021
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
c
:
CancelToGrave
()
c
:
CancelToGrave
()
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
...
...
expansions/script/c9911201.lua
View file @
a7fb2adc
...
@@ -60,7 +60,7 @@ end
...
@@ -60,7 +60,7 @@ end
function
c9911201
.
setfilter
(
c
)
function
c9911201
.
setfilter
(
c
)
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
return
c
:
IsType
(
TYPE_TRAP
)
and
(
b1
or
b2
)
return
c
:
Is
FaceupEx
()
and
c
:
Is
Type
(
TYPE_TRAP
)
and
(
b1
or
b2
)
end
end
function
c9911201
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911201
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c9911218.lua
View file @
a7fb2adc
...
@@ -46,7 +46,7 @@ end
...
@@ -46,7 +46,7 @@ end
function
c9911218
.
setfilter
(
c
)
function
c9911218
.
setfilter
(
c
)
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
return
c
:
IsType
(
TYPE_TRAP
)
and
(
b1
or
b2
)
return
c
:
Is
FaceupEx
()
and
c
:
Is
Type
(
TYPE_TRAP
)
and
(
b1
or
b2
)
end
end
function
c9911218
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911218
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c9911223.lua
View file @
a7fb2adc
...
@@ -63,7 +63,7 @@ end
...
@@ -63,7 +63,7 @@ end
function
c9911223
.
setfilter
(
c
)
function
c9911223
.
setfilter
(
c
)
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
return
c
:
IsType
(
TYPE_TRAP
)
and
(
b1
or
b2
)
return
c
:
Is
FaceupEx
()
and
c
:
Is
Type
(
TYPE_TRAP
)
and
(
b1
or
b2
)
end
end
function
c9911223
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911223
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c9911224.lua
View file @
a7fb2adc
...
@@ -85,7 +85,7 @@ end
...
@@ -85,7 +85,7 @@ end
function
c9911224
.
setfilter
(
c
)
function
c9911224
.
setfilter
(
c
)
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
return
c
:
IsType
(
TYPE_TRAP
)
and
(
b1
or
b2
)
return
c
:
Is
FaceupEx
()
and
c
:
Is
Type
(
TYPE_TRAP
)
and
(
b1
or
b2
)
end
end
function
c9911224
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911224
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c9911231.lua
View file @
a7fb2adc
...
@@ -49,7 +49,7 @@ end
...
@@ -49,7 +49,7 @@ end
function
c9911231
.
setfilter
(
c
)
function
c9911231
.
setfilter
(
c
)
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b1
=
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsSSetable
()
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
local
b2
=
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSSetable
(
true
)
return
c
:
IsType
(
TYPE_TRAP
)
and
(
b1
or
b2
)
return
c
:
Is
FaceupEx
()
and
c
:
Is
Type
(
TYPE_TRAP
)
and
(
b1
or
b2
)
end
end
function
c9911231
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911231
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c9911565.lua
View file @
a7fb2adc
...
@@ -211,7 +211,7 @@ function c9911565.activate2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -211,7 +211,7 @@ function c9911565.activate2(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
end
end
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
(
true
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
Is
Faceup
()
and
c
:
Is
SSetable
(
true
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
c
:
CancelToGrave
()
c
:
CancelToGrave
()
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
...
...
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