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
c78a7e71
Commit
c78a7e71
authored
Aug 03, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3ec5d6f5
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
162 additions
and
87 deletions
+162
-87
expansions/script/c11450993.lua
expansions/script/c11450993.lua
+1
-1
expansions/script/c11451448.lua
expansions/script/c11451448.lua
+2
-3
expansions/script/c11451565.lua
expansions/script/c11451565.lua
+1
-1
expansions/script/c11451842.lua
expansions/script/c11451842.lua
+1
-0
expansions/script/c11451906.lua
expansions/script/c11451906.lua
+1
-0
expansions/script/c16104608.lua
expansions/script/c16104608.lua
+26
-4
expansions/script/c16104610.lua
expansions/script/c16104610.lua
+25
-4
expansions/script/c16670025.lua
expansions/script/c16670025.lua
+98
-65
expansions/script/c40009036.lua
expansions/script/c40009036.lua
+1
-0
expansions/script/c40009037.lua
expansions/script/c40009037.lua
+1
-2
expansions/script/c50203210.lua
expansions/script/c50203210.lua
+1
-1
expansions/script/c9910436.lua
expansions/script/c9910436.lua
+4
-6
No files found.
expansions/script/c11450993.lua
View file @
c78a7e71
...
@@ -38,7 +38,7 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
spfilter0
(
c
,
loc
)
function
cm
.
spfilter0
(
c
,
loc
)
return
not
c
:
IsLocation
(
loc
)
and
c
:
IsPreviousLocation
(
loc
)
return
c
:
IsPreviousLocation
(
loc
)
and
not
(
c
:
IsLocation
(
loc
)
and
c
:
IsControler
(
c
:
GetPreviousControler
())
)
end
end
function
cm
.
adcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
adcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_MONSTER
)
return
eg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_MONSTER
)
...
...
expansions/script/c11451448.lua
View file @
c78a7e71
--革命的准备
--革命的准备
local
m
=
11451448
local
cm
,
m
=
GetID
()
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
99518961
)
aux
.
AddCodeList
(
c
,
99518961
)
--activate
--activate
...
@@ -35,7 +34,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +34,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SendtoHand
(
sg1
,
nil
,
REASON_EFFECT
)
>
0
then
if
Duel
.
SendtoHand
(
sg1
,
nil
,
REASON_EFFECT
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
sg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg1
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
-
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
-
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
if
ct
>
0
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
ct
)
then
if
ct
>
0
then
--
and Duel.IsPlayerCanDraw(1-tp,ct) then
Duel
.
Draw
(
1
-
tp
,
ct
,
REASON_EFFECT
)
Duel
.
Draw
(
1
-
tp
,
ct
,
REASON_EFFECT
)
end
end
end
end
...
...
expansions/script/c11451565.lua
View file @
c78a7e71
...
@@ -78,7 +78,7 @@ function cm.acfilter(c,tp)
...
@@ -78,7 +78,7 @@ function cm.acfilter(c,tp)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
GetEquipTarget
()
return
c
:
IsPreviousControler
(
tp
)
and
c
:
GetEquipTarget
()
end
end
function
cm
.
accon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
accon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
acfilter
,
1
,
nil
,
tp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
(
))
return
eg
:
IsExists
(
cm
.
acfilter
,
1
,
nil
,
tp
)
and
(
not
eg
:
IsContains
(
e
:
GetHandler
())
or
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
))
end
end
function
cm
.
accost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
accost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
exc
=
(
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
and
not
e
:
GetHandler
():
IsAbleToGraveAsCost
())
and
e
:
GetHandler
()
or
nil
local
exc
=
(
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
and
not
e
:
GetHandler
():
IsAbleToGraveAsCost
())
and
e
:
GetHandler
()
or
nil
...
...
expansions/script/c11451842.lua
View file @
c78a7e71
...
@@ -17,6 +17,7 @@ function cm.initial_effect(c)
...
@@ -17,6 +17,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
(
POS_FACEDOWN
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
(
POS_FACEDOWN
)
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEDOWN
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEDOWN
,
REASON_COST
)
end
end
function
cm
.
filter
(
c
,
code
)
function
cm
.
filter
(
c
,
code
)
...
...
expansions/script/c11451906.lua
View file @
c78a7e71
...
@@ -20,6 +20,7 @@ function cm.initial_effect(c)
...
@@ -20,6 +20,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e5
=
e2
:
Clone
()
local
e5
=
e2
:
Clone
()
e5
:
SetDescription
(
0
)
e5
:
SetDescription
(
0
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_CUSTOM
+
11451902
)
e5
:
SetCode
(
EVENT_CUSTOM
+
11451902
)
e5
:
SetCondition
(
aux
.
TRUE
)
e5
:
SetCondition
(
aux
.
TRUE
)
e5
:
SetCost
(
aux
.
TRUE
)
e5
:
SetCost
(
aux
.
TRUE
)
...
...
expansions/script/c16104608.lua
View file @
c78a7e71
...
@@ -36,6 +36,7 @@ function c16104608.initial_effect(c)
...
@@ -36,6 +36,7 @@ function c16104608.initial_effect(c)
e3
:
SetTarget
(
c16104608
.
destg
)
e3
:
SetTarget
(
c16104608
.
destg
)
e3
:
SetOperation
(
c16104608
.
desop
)
e3
:
SetOperation
(
c16104608
.
desop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c16104608
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16104608
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsFacedown
()
return
e
:
GetHandler
():
IsFacedown
()
...
@@ -90,9 +91,28 @@ function c16104608.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -90,9 +91,28 @@ function c16104608.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SUMMON
,
nil
,
1
,
0
,
0
)
end
end
function
c16104608
.
filter4
(
c
)
function
c16104608
.
filter4
(
c
)
return
c
:
IsFacedown
()
return
c
:
IsFacedown
()
end
end
function
c16104608
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16104608
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e0
:
SetCountLimit
(
1
,
98500510
)
e0
:
SetReset
(
RESET_EVENT
+
0x7e0000
+
RESET_PHASE
+
PHASE_END
)
e0
:
SetOperation
(
c16104608
.
efilter
)
c
:
RegisterEffect
(
e0
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_MSET
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e4
:
SetCountLimit
(
1
,
98500510
)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
-- e4:SetLabelObject(c)
e4
:
SetOperation
(
c16104608
.
efilter
)
Duel
.
RegisterEffect
(
e4
,
tp
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
1
then
return
false
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
1
then
return
false
end
local
ts
=
{}
local
ts
=
{}
local
index
=
1
local
index
=
1
...
@@ -114,12 +134,14 @@ function c16104608.hspop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -114,12 +134,14 @@ function c16104608.hspop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
~=
0
then
if
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
~=
0
then
Duel
.
BreakEffect
()
local
g2
=
Duel
.
GetMatchingGroup
(
c16104608
.
filter4
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
ShuffleSetCard
(
g2
)
end
end
end
end
end
end
function
c16104608
.
efilter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g2
=
Duel
.
GetMatchingGroup
(
c16104608
.
filter4
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
ShuffleSetCard
(
g2
)
end
function
c16104608
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16104608
.
destg
(
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_DESTROY
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
0
)
...
...
expansions/script/c16104610.lua
View file @
c78a7e71
...
@@ -92,6 +92,25 @@ function c16104610.filter4(c)
...
@@ -92,6 +92,25 @@ function c16104610.filter4(c)
return
c
:
IsFacedown
()
return
c
:
IsFacedown
()
end
end
function
c16104610
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16104610
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e0
:
SetCountLimit
(
1
,
98500520
)
e0
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
e0
:
SetOperation
(
c16104610
.
efilter
)
c
:
RegisterEffect
(
e0
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_MSET
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e4
:
SetCountLimit
(
1
,
98500520
)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
-- e4:SetLabelObject(c)
e4
:
SetOperation
(
c16104610
.
efilter
)
Duel
.
RegisterEffect
(
e4
,
tp
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
1
then
return
false
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
1
then
return
false
end
local
ts
=
{}
local
ts
=
{}
local
index
=
1
local
index
=
1
...
@@ -113,12 +132,14 @@ function c16104610.hspop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -113,12 +132,14 @@ function c16104610.hspop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
~=
0
then
if
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
~=
0
then
Duel
.
BreakEffect
()
local
g2
=
Duel
.
GetMatchingGroup
(
c16104610
.
filter4
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
ShuffleSetCard
(
g2
)
end
end
end
end
end
end
function
c16104610
.
efilter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g2
=
Duel
.
GetMatchingGroup
(
c16104610
.
filter4
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
ShuffleSetCard
(
g2
)
end
function
c16104610
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16104610
.
destg
(
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_DESTROY
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
0
)
...
@@ -133,7 +154,7 @@ function c16104610.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -133,7 +154,7 @@ function c16104610.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
if
Duel
.
IsExistingTarget
(
c16104610
.
filter4
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16104610
,
4
))
then
if
Duel
.
IsExistingTarget
(
c16104610
.
filter4
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16104610
,
4
))
then
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c16104610
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c16104610
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
Duel
.
GetControl
(
tc2
,
tp
,
PHASE_END
,
1
)
Duel
.
GetControl
(
tc2
,
tp
,
PHASE_END
,
1
)
end
end
...
...
expansions/script/c16670025.lua
View file @
c78a7e71
This diff is collapsed.
Click to expand it.
expansions/script/c40009036.lua
View file @
c78a7e71
...
@@ -81,6 +81,7 @@ function c40009036.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,6 +81,7 @@ function c40009036.operation(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsLocation
(
LOCATION_SZONE
)
then
return
end
if
not
c
:
IsLocation
(
LOCATION_SZONE
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
return
end
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_BATTLE_STEP
,
1
)
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
...
...
expansions/script/c40009037.lua
View file @
c78a7e71
...
@@ -83,10 +83,9 @@ function c40009037.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,10 +83,9 @@ function c40009037.operation(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
Duel
.
BreakEffect
()
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_BATTLE_STEP
,
1
)
if
not
c
:
IsLocation
(
LOCATION_SZONE
)
then
return
end
if
not
c
:
IsLocation
(
LOCATION_SZONE
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
return
end
Duel
.
BreakEffect
()
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
...
...
expansions/script/c50203210.lua
View file @
c78a7e71
...
@@ -67,7 +67,7 @@ function c50203210.sccon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function c50203210.sccon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
1
-
tp
)
return
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
1
-
tp
)
end
end
function
c50203210
.
mfilter
(
c
)
function
c50203210
.
mfilter
(
c
)
return
c
:
IsSetCard
(
0x3b
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x3b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
end
end
function
c50203210
.
cfilter
(
c
,
syn
)
function
c50203210
.
cfilter
(
c
,
syn
)
return
syn
:
IsSynchroSummonable
(
c
)
return
syn
:
IsSynchroSummonable
(
c
)
...
...
expansions/script/c9910436.lua
View file @
c78a7e71
...
@@ -21,18 +21,16 @@ function c9910436.initial_effect(c)
...
@@ -21,18 +21,16 @@ function c9910436.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c9910436
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910436
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_LINK
and
Duel
.
IsAbleToEnterBP
()
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_LINK
end
function
c9910436
.
cfilter
(
c
,
e
)
return
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c9910436
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910436
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
IsExistingMatchingCard
(
c9910436
.
cfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
c
,
e
)
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
c
)
and
c
:
IsFaceup
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910436
,
0
))
then
and
c
:
IsFaceup
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910436
,
0
))
then
Duel
.
Hint
(
HINT_CARD
,
0
,
9910436
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910436
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
cg
=
Duel
.
SelectMatchingCard
(
tp
,
c9910436
.
cfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
63
,
c
,
e
)
local
cg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
63
,
c
)
Duel
.
HintSelection
(
cg
)
Duel
.
SendtoGrave
(
cg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
cg
,
REASON_EFFECT
)
local
oc
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
)
local
oc
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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