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
8fb637f2
Commit
8fb637f2
authored
Apr 12, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f40ca5b7
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
42 additions
and
37 deletions
+42
-37
expansions/script/c11451687.lua
expansions/script/c11451687.lua
+2
-2
expansions/script/c11451801.lua
expansions/script/c11451801.lua
+1
-0
expansions/script/c11451867.lua
expansions/script/c11451867.lua
+1
-1
expansions/script/c11451884.lua
expansions/script/c11451884.lua
+1
-0
expansions/script/c28315647.lua
expansions/script/c28315647.lua
+1
-1
expansions/script/c28315849.lua
expansions/script/c28315849.lua
+1
-1
expansions/script/c28316144.lua
expansions/script/c28316144.lua
+1
-1
expansions/script/c28398510.lua
expansions/script/c28398510.lua
+3
-3
expansions/script/c53713015.lua
expansions/script/c53713015.lua
+1
-1
expansions/script/c53722008.lua
expansions/script/c53722008.lua
+1
-1
expansions/script/c53739014.lua
expansions/script/c53739014.lua
+2
-2
expansions/script/c53764011.lua
expansions/script/c53764011.lua
+1
-1
expansions/script/c53766010.lua
expansions/script/c53766010.lua
+1
-1
expansions/script/c53766011.lua
expansions/script/c53766011.lua
+1
-1
expansions/script/c53766012.lua
expansions/script/c53766012.lua
+1
-1
expansions/script/c53766014.lua
expansions/script/c53766014.lua
+1
-1
expansions/script/c53766016.lua
expansions/script/c53766016.lua
+1
-1
expansions/script/c53766019.lua
expansions/script/c53766019.lua
+1
-1
expansions/script/c53766022.lua
expansions/script/c53766022.lua
+1
-1
expansions/script/c53796077.lua
expansions/script/c53796077.lua
+15
-11
expansions/script/c53799141.lua
expansions/script/c53799141.lua
+1
-1
expansions/script/c53799182.lua
expansions/script/c53799182.lua
+1
-1
expansions/script/c53799198.lua
expansions/script/c53799198.lua
+1
-1
expansions/script/c53799261.lua
expansions/script/c53799261.lua
+0
-1
expansions/script/c98920184.lua
expansions/script/c98920184.lua
+1
-1
No files found.
expansions/script/c11451687.lua
View file @
8fb637f2
--洗衣龙女呼唤
local
m
=
11451687
local
cm
=
_G
[
"c"
..
m
]
local
cm
,
m
=
GetID
()
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_TODECK
)
...
...
@@ -76,6 +75,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
end
...
...
expansions/script/c11451801.lua
View file @
8fb637f2
...
...
@@ -83,5 +83,6 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_PUBLIC
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
dc
:
RegisterEffect
(
e1
,
true
)
Duel
.
ConfirmCards
(
1
-
tp
,
dc
)
end
end
\ No newline at end of file
expansions/script/c11451867.lua
View file @
8fb637f2
...
...
@@ -79,7 +79,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
sc
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
HintSelection
(
Group
.
FromCards
(
sc
)
)
Duel
.
ConfirmCards
(
tp
,
sc
)
--hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
expansions/script/c11451884.lua
View file @
8fb637f2
...
...
@@ -124,6 +124,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_PUBLIC
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
g
:
GetFirst
():
RegisterEffect
(
e1
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
:
GetFirst
())
else
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
...
...
expansions/script/c28315647.lua
View file @
8fb637f2
...
...
@@ -36,7 +36,7 @@ function c28315647.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c28315647
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
and
re
:
GetHandler
():
IsSetCard
(
0x283
)
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
and
(
re
and
re
:
GetHandler
():
IsSetCard
(
0x283
)
)
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
function
c28315647
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c28315849.lua
View file @
8fb637f2
...
...
@@ -36,7 +36,7 @@ function c28315849.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c28315849
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
and
re
:
GetHandler
():
IsSetCard
(
0x283
)
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
and
(
re
and
re
:
GetHandler
():
IsSetCard
(
0x283
)
)
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
function
c28315849
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c28316144.lua
View file @
8fb637f2
...
...
@@ -49,7 +49,7 @@ function c28316144.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c28316144
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
and
re
:
GetHandler
():
IsSetCard
(
0x283
)
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
and
(
re
and
re
:
GetHandler
():
IsSetCard
(
0x283
)
)
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
function
c28316144
.
cfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsSetCard
(
0x283
)
and
c
:
IsFaceup
()
...
...
expansions/script/c28398510.lua
View file @
8fb637f2
...
...
@@ -47,7 +47,7 @@ function c28398510.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetTarget
(
c28398510
.
sumlimit
)
e1
:
SetLabel
(
tc
:
GetCode
())
e1
:
SetLabel
(
tc
:
Get
Original
Code
())
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
...
...
@@ -62,13 +62,13 @@ function c28398510.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c28398510
.
sumlimit
(
e
,
c
)
return
c
:
Is
Cod
e
(
e
:
GetLabel
())
return
c
:
Is
OriginalCodeRul
e
(
e
:
GetLabel
())
end
function
c28398510
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsCode
(
e
:
GetLabel
())
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
function
c28398510
.
rmfilter
(
c
)
return
c
:
IsSetCard
(
0x283
)
and
c
:
IsAbleToRemove
()
return
c
:
IsSetCard
(
0x283
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToRemove
()
end
function
c28398510
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28398510
.
rmfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c53713015.lua
View file @
8fb637f2
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c53722008.lua
View file @
8fb637f2
...
...
@@ -23,7 +23,7 @@ function cm.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_DAMAGE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
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
:
SetCountLimit
(
1
)
e2
:
SetCost
(
cm
.
cost
)
e2
:
SetTarget
(
cm
.
tg
)
...
...
expansions/script/c53739014.lua
View file @
8fb637f2
...
...
@@ -10,7 +10,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_MUST_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_GRANT
)
e3
:
SetRange
(
LOCATION_SZONE
)
...
...
@@ -22,7 +22,7 @@ function cm.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_BATTLE_START
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetTarget
(
cm
.
tg
)
e4
:
SetOperation
(
cm
.
op
)
local
e5
=
e3
:
Clone
()
...
...
expansions/script/c53764011.lua
View file @
8fb637f2
...
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
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
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c53766010.lua
View file @
8fb637f2
...
...
@@ -87,7 +87,7 @@ function s.sdtg(chain)
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
0
)
end
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
0
)
end
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
...
...
expansions/script/c53766011.lua
View file @
8fb637f2
...
...
@@ -43,7 +43,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
0
)
end
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
0
)
end
return
true
end
end
...
...
expansions/script/c53766012.lua
View file @
8fb637f2
...
...
@@ -92,7 +92,7 @@ end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
s
.
desfilter
(
chkc
)
and
not
eg
:
IsContains
(
chkc
)
end
if
chk
==
0
then
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_SET_AVAILABLE
)
end
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_SET_AVAILABLE
)
end
return
Duel
.
IsExistingTarget
(
s
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
eg
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
expansions/script/c53766014.lua
View file @
8fb637f2
...
...
@@ -36,7 +36,7 @@ function s.ctfilter(c)
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
0
)
end
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
0
)
end
return
Duel
.
IsExistingMatchingCard
(
s
.
desfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
)
...
...
expansions/script/c53766016.lua
View file @
8fb637f2
...
...
@@ -40,7 +40,7 @@ end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsAbleToHand
()
end
if
chk
==
0
then
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_SET_AVAILABLE
)
end
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_SET_AVAILABLE
)
end
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
...
...
expansions/script/c53766019.lua
View file @
8fb637f2
...
...
@@ -34,7 +34,7 @@ end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
s
.
ctfilter
(
chkc
)
end
if
chk
==
0
then
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
end
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
end
return
Duel
.
IsExistingTarget
(
s
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
...
...
expansions/script/c53766022.lua
View file @
8fb637f2
...
...
@@ -29,7 +29,7 @@ function s.initial_effect(c)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
end
if
e
:
GetHandler
():
GetFlagEffect
(
53766099
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
end
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
6
then
return
false
end
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
6
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
g
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
>
0
...
...
expansions/script/c53796077.lua
View file @
8fb637f2
...
...
@@ -91,7 +91,7 @@ function cm.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
remfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
nil
)
end
local
sg
=
e
:
GetLabelObject
():
GetLabelObject
()
if
sg
:
IsContains
(
g
:
GetFirst
())
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
end
if
sg
:
IsContains
(
g
:
GetFirst
())
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
0
)
end
function
cm
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -191,7 +191,7 @@ function cm.adjustop1(e,tp,eg,ep,ev,re,r,rp)
for
_
,
te4
in
pairs
(
re4
)
do
local
tg
=
te4
:
GetTarget
()
local
o
,
h
=
te4
:
GetOwner
(),
te4
:
GetHandler
()
if
tg
(
te4
,
c
,
tp
,
tp
,
POS_FACEUP
)
==
true
then
if
tg
(
te4
,
c
,
tp
,
SUMMON_TYPE_SPECIAL
,
POS_FACEUP
,
tp
,
e
)
==
true
then
if
h
then
g
:
AddCard
(
h
)
else
g
:
AddCard
(
o
)
end
te4
:
SetTarget
(
cm
.
chtg3
(
tg
))
end
...
...
@@ -210,6 +210,7 @@ function cm.adjustop2(e,tp,eg,ep,ev,re,r,rp)
local
re1
=
{
c
:
IsHasEffect
(
EFFECT_CANNOT_TRIGGER
)}
local
re2
=
{
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_ACTIVATE
)}
local
re3
=
{
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_ACTIVATE_COST
)}
local
again
=
false
for
_
,
te1
in
pairs
(
re1
)
do
if
te1
:
GetType
()
==
EFFECT_TYPE_SINGLE
then
local
con
=
te1
:
GetCondition
()
...
...
@@ -245,14 +246,17 @@ function cm.adjustop2(e,tp,eg,ep,ev,re,r,rp)
end
end
for
_
,
te3
in
pairs
(
re3
)
do
local
tg
=
te3
:
GetTarget
()
local
o
,
h
=
te3
:
GetOwner
(),
te3
:
GetHandler
()
if
not
tg
then
if
h
then
g
:
AddCard
(
h
)
else
g
:
AddCard
(
o
)
end
te3
:
SetTarget
(
cm
.
chtg2
(
aux
.
TRUE
))
elseif
tg
(
te3
,
e
,
tp
)
==
true
then
if
h
then
g
:
AddCard
(
h
)
else
g
:
AddCard
(
o
)
end
te3
:
SetTarget
(
cm
.
chtg2
(
tg
))
local
cost
=
te3
:
GetCost
()
if
cost
and
cost
(
te3
,
e
,
tp
)
==
false
then
local
tg
=
te3
:
GetTarget
()
local
o
,
h
=
te3
:
GetOwner
(),
te3
:
GetHandler
()
if
not
tg
then
if
h
then
g
:
AddCard
(
h
)
else
g
:
AddCard
(
o
)
end
te3
:
SetTarget
(
cm
.
chtg2
(
aux
.
TRUE
))
elseif
tg
(
te3
,
e
,
tp
)
==
true
then
if
h
then
g
:
AddCard
(
h
)
else
g
:
AddCard
(
o
)
end
te3
:
SetTarget
(
cm
.
chtg2
(
tg
))
end
end
end
c
:
ResetFlagEffect
(
m
+
500
)
...
...
@@ -304,7 +308,7 @@ end
function
cm
.
chval
(
_val
)
return
function
(
e
,
re
,
...
)
local
x
=
re
:
GetHandler
()
if
x
:
IsHasEffect
(
m
)
and
x
:
GetFlagEffect
(
m
)
<
1
then
return
false
end
if
x
:
IsHasEffect
(
m
)
and
x
:
GetFlagEffect
(
m
+
500
)
<
1
then
return
false
end
return
_val
(
e
,
re
,
...
)
end
end
expansions/script/c53799141.lua
View file @
8fb637f2
...
...
@@ -24,7 +24,7 @@ end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
Duel
.
GetCustomActivityCount
(
m
,
1
-
tp
,
ACTIVITY_CHAIN
)
>
0
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
e
:
SetProperty
(
0
)
end
...
...
expansions/script/c53799182.lua
View file @
8fb637f2
...
...
@@ -75,7 +75,7 @@ function bgmhandle(c,code,count,bgmid,con,cost,tg,op)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetTargetRange
(
1
,
0
)
e3
:
SetValue
(
function
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsType
(
TYPE_FIELD
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
)
...
...
expansions/script/c53799198.lua
View file @
8fb637f2
...
...
@@ -16,7 +16,7 @@ function cm.initial_effect(c)
end
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
end
if
not
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
else
e
:
SetProperty
(
0
)
end
if
not
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
else
e
:
SetProperty
(
0
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
0
,
LOCATION_MZONE
)
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c53799261.lua
View file @
8fb637f2
...
...
@@ -6,7 +6,6 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
...
...
expansions/script/c98920184.lua
View file @
8fb637f2
...
...
@@ -43,7 +43,7 @@ function c98920184.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c98920184
.
cfilter
(
c
)
return
c
:
GetType
()
~=
TYPE_SPIRIT
return
c
:
IsType
(
TYPE_SPIRIT
)
end
function
c98920184
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
TYPE_MONSTER
)
...
...
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