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
3d5b33aa
Commit
3d5b33aa
authored
Oct 27, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
16532171
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
39 deletions
+33
-39
expansions/script/c22021330.lua
expansions/script/c22021330.lua
+3
-2
expansions/script/c43990034.lua
expansions/script/c43990034.lua
+1
-1
expansions/script/c43990039.lua
expansions/script/c43990039.lua
+5
-5
expansions/script/c67642779.lua
expansions/script/c67642779.lua
+1
-1
expansions/script/c97647362.lua
expansions/script/c97647362.lua
+6
-2
expansions/script/c98769900.lua
expansions/script/c98769900.lua
+7
-3
expansions/script/c99953655.lua
expansions/script/c99953655.lua
+10
-25
No files found.
expansions/script/c22021330.lua
View file @
3d5b33aa
...
...
@@ -26,6 +26,7 @@ function c22021330.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
22021330
,
1
))
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
22021331
)
...
...
@@ -34,8 +35,8 @@ function c22021330.initial_effect(c)
e3
:
SetOperation
(
c22021330
.
desop
)
c
:
RegisterEffect
(
e3
)
end
function
c22021330
.
lcheck
(
g
,
lc
)
return
g
:
GetClassCount
(
Card
.
GetLinkCode
)
==
g
:
GetCount
(
)
function
c22021330
.
lcheck
(
g
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0xff9
)
end
function
c22021330
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
...
...
expansions/script/c43990034.lua
View file @
3d5b33aa
...
...
@@ -51,7 +51,7 @@ function c43990034.dtop(e,tp,eg,ep,ev,re,r,rp)
end
function
c43990034
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c43990034
.
eqfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
1
and
Duel
.
IsExistingMatchingCard
(
c43990034
.
eqfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
expansions/script/c43990039.lua
View file @
3d5b33aa
...
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetTarget
(
c43990039
.
t
h
tg
)
e1
:
SetTarget
(
c43990039
.
t
g
tg
)
e1
:
SetOperation
(
c43990039
.
tgop
)
c
:
RegisterEffect
(
e1
)
--Activate
...
...
@@ -23,16 +23,16 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
c43990039
.
thop
)
c
:
RegisterEffect
(
e2
)
end
function
c43990039
.
t
h
filter
(
c
)
function
c43990039
.
t
g
filter
(
c
)
return
c
:
IsSetCard
(
0x1514
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
function
c43990039
.
t
h
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c43990039
.
t
h
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c43990039
.
t
g
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c43990039
.
t
g
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c43990039
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c43990039
.
t
h
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c43990039
.
t
g
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
expansions/script/c67642779.lua
View file @
3d5b33aa
--海造贼--新生之集结号
function
c67642779
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedureLevelFree
(
c
,
c67642779
.
mfilter
,
c67642779
.
xyzcheck
,
3
,
99
)
aux
.
AddXyzProcedureLevelFree
(
c
,
c67642779
.
mfilter
,
c67642779
.
xyzcheck
,
2
,
99
)
c
:
EnableReviveLimit
()
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
,
false
)
...
...
expansions/script/c97647362.lua
View file @
3d5b33aa
...
...
@@ -9,7 +9,7 @@ function c97647362.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCountLimit
(
1
,
97647362
)
e1
:
SetCountLimit
(
1
,
97647362
*
1
)
e1
:
SetTarget
(
c97647362
.
sptg
)
e1
:
SetOperation
(
c97647362
.
spop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -26,7 +26,8 @@ function c97647362.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
97647363
)
e3
:
SetCountLimit
(
1
,
97647362
*
2
)
e3
:
SetCondition
(
c97647362
.
thcon2
)
e3
:
SetTarget
(
c97647362
.
thtg2
)
e3
:
SetOperation
(
c97647362
.
thop2
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -74,6 +75,9 @@ function c97647362.rlevel(e,c)
return
(
lv
<<
16
)
+
clv
else
return
lv
end
end
function
c97647362
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_HAND
)
end
function
c97647362
.
thfilter2
(
c
)
return
c
:
IsSetCard
(
0x13f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
97647362
)
and
c
:
IsAbleToHand
()
end
...
...
expansions/script/c98769900.lua
View file @
3d5b33aa
...
...
@@ -8,7 +8,7 @@ function c98769900.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCountLimit
(
1
,
98769900
)
e1
:
SetCountLimit
(
1
,
98769900
*
1
)
e1
:
SetCondition
(
c98769900
.
thcon1
)
e1
:
SetTarget
(
c98769900
.
thtg1
)
e1
:
SetOperation
(
c98769900
.
thop1
)
...
...
@@ -21,7 +21,7 @@ function c98769900.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetCountLimit
(
1
,
9876990
1
)
e2
:
SetCountLimit
(
1
,
9876990
0
*
2
)
e2
:
SetCondition
(
c98769900
.
spcon
)
e2
:
SetTarget
(
c98769900
.
sptg
)
e2
:
SetOperation
(
c98769900
.
spop
)
...
...
@@ -33,7 +33,8 @@ function c98769900.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
98769902
)
e3
:
SetCountLimit
(
1
,
98769900
*
3
)
e3
:
SetCondition
(
c98769900
.
thcon2
)
e3
:
SetTarget
(
c98769900
.
thtg2
)
e3
:
SetOperation
(
c98769900
.
thop2
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -108,6 +109,9 @@ end
function
c98769900
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
98769900
)
~=
0
end
function
c98769900
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_HAND
)
end
function
c98769900
.
thfilter2
(
c
)
return
c
:
IsSetCard
(
0x13f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
98769900
)
and
c
:
IsAbleToHand
()
end
...
...
expansions/script/c99953655.lua
View file @
3d5b33aa
...
...
@@ -26,7 +26,7 @@ function c99953655.initial_effect(c)
e2
:
SetCountLimit
(
1
,
99953656
)
e2
:
SetCondition
(
c99953655
.
rmcon1
)
e2
:
SetCost
(
c99953655
.
rmcost
)
e2
:
SetTarget
(
c99953655
.
r
th
tg
)
e2
:
SetTarget
(
c99953655
.
r
m
tg
)
e2
:
SetOperation
(
c99953655
.
rmop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
...
...
@@ -71,40 +71,25 @@ function c99953655.costfilter(c)
end
function
c99953655
.
rmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c99953655
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c99953655
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
c99953655
.
costfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
c99953655
.
r
thtg
filter
(
c
,
tc
)
return
c
:
IsAbleToHand
()
and
c
:
GetEquipTarget
()
~=
tc
function
c99953655
.
r
m
filter
(
c
,
tc
)
return
c
:
IsAbleToHand
()
end
function
c99953655
.
rthtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsOnField
()
and
chkc
:
IsAbleToHand
()
end
if
chk
==
0
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
return
Duel
.
IsExistingMatchingCard
(
c99953655
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
,
tp
)
else
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
end
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c99953655
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
c
,
tp
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_COST
)
end
function
c99953655
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c99953655
.
rmfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c99953655
.
rmfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c99953655
.
rmfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
0
,
tp
,
LOCATION_DECK
)
end
function
c99953655
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x13f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c99953655
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoHand
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
c99953655
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
94253655
,
1
))
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_HAND
)
and
Duel
.
IsExistingMatchingCard
(
c99953655
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
94253655
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c99953655
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
...
...
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