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
bbe64bd2
Commit
bbe64bd2
authored
Sep 20, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cf7d80c6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
10 deletions
+16
-10
expansions/script/c13000757.lua
expansions/script/c13000757.lua
+9
-3
expansions/script/c13000772.lua
expansions/script/c13000772.lua
+1
-1
expansions/script/c21185825.lua
expansions/script/c21185825.lua
+3
-3
expansions/script/c60010194.lua
expansions/script/c60010194.lua
+1
-1
expansions/script/c60040005.lua
expansions/script/c60040005.lua
+2
-2
No files found.
expansions/script/c13000757.lua
View file @
bbe64bd2
...
@@ -53,7 +53,7 @@ function cm.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -53,7 +53,7 @@ function cm.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
nil
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
aa
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
2
,
2
,
nil
)
local
aa
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
2
,
2
,
nil
)
Duel
.
SendtoDeck
(
aa
,
tp
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
aa
,
nil
,
0
,
REASON_EFFECT
)
end
end
function
cm
.
filter0
(
g
)
function
cm
.
filter0
(
g
)
return
g
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_RITUAL
)
return
g
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_RITUAL
)
...
@@ -71,7 +71,7 @@ function cm.discon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +71,7 @@ function cm.discon2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
disop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
disop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
aa
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
+
LOCATION_REMOVED
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_REMOVED
+
LOCATION_GRAVE
,
1
,
2
,
nil
)
local
aa
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
+
LOCATION_REMOVED
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_REMOVED
+
LOCATION_GRAVE
,
1
,
2
,
nil
)
Duel
.
SendtoDeck
(
aa
,
tp
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
aa
,
nil
,
0
,
REASON_EFFECT
)
end
end
function
cm
.
efilter
(
e
,
te
,
c
)
function
cm
.
efilter
(
e
,
te
,
c
)
if
te
:
GetOwnerPlayer
()
==
e
:
GetHandlerPlayer
()
or
not
te
:
IsActivated
()
then
return
false
end
if
te
:
GetOwnerPlayer
()
==
e
:
GetHandlerPlayer
()
or
not
te
:
IsActivated
()
then
return
false
end
...
@@ -102,14 +102,20 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -102,14 +102,20 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RegisterEffect
(
e1
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
aa
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
13000753
)
local
aa
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
13000753
)
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoHand
(
aa
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
aa
,
tp
,
REASON_EFFECT
)
local
bb
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
13000751
)
local
bb
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
13000751
)
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoHand
(
bb
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
bb
,
tp
,
REASON_EFFECT
)
local
cc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
13000749
)
local
cc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
13000749
)
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoHand
(
cc
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
cc
,
tp
,
REASON_EFFECT
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
LOCATION_HAND
,
0
,
3
,
3
,
nil
,
TYPE_RITUAL
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
LOCATION_HAND
,
0
,
3
,
3
,
nil
,
TYPE_RITUAL
)
Duel
.
SendtoDeck
(
sg
,
tp
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
sg
,
nil
,
0
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c13000772.lua
View file @
bbe64bd2
...
@@ -68,7 +68,7 @@ end
...
@@ -68,7 +68,7 @@ end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
e
)
and
c
:
IsCanOverlay
()
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
e
)
and
c
:
IsCanOverlay
()
then
local
aa
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
c
,
e
):
GetFirst
local
aa
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
c
,
e
):
GetFirst
()
Duel
.
Overlay
(
aa
,
c
)
Duel
.
Overlay
(
aa
,
c
)
end
end
end
end
...
...
expansions/script/c21185825.lua
View file @
bbe64bd2
...
@@ -75,7 +75,7 @@ function c21185825.gf(c,lc,sg)
...
@@ -75,7 +75,7 @@ function c21185825.gf(c,lc,sg)
end
end
function
c21185825
.
LCheckGoal
(
sg
,
tp
,
lc
,
lmat
)
function
c21185825
.
LCheckGoal
(
sg
,
tp
,
lc
,
lmat
)
return
#
sg
>=
4
return
#
sg
>=
4
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
cl
,
sg
)
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
lc
,
sg
)
and
sg
:
CheckWithSumEqual
(
aux
.
GetLinkCount
,
5
,
#
sg
,
#
sg
)
and
sg
:
CheckWithSumEqual
(
aux
.
GetLinkCount
,
5
,
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
...
@@ -85,12 +85,12 @@ function c21185825.LCheckGoal2(sg,tp,lc,lmat)
...
@@ -85,12 +85,12 @@ function c21185825.LCheckGoal2(sg,tp,lc,lmat)
return
#
sg
==
1
return
#
sg
==
1
and
sg
:
IsExists
(
c21185825
.
onlycheck
,
1
,
nil
,
lc
,
sg
)
and
sg
:
IsExists
(
c21185825
.
onlycheck
,
1
,
nil
,
lc
,
sg
)
or
#
sg
>=
4
or
#
sg
>=
4
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
cl
,
sg
)
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
lc
,
sg
)
and
sg
:
CheckWithSumEqual
(
aux
.
GetLinkCount
,
5
,
#
sg
,
#
sg
)
and
sg
:
CheckWithSumEqual
(
aux
.
GetLinkCount
,
5
,
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
#
sg
==
sg
:
Filter
(
Card
.
IsLinkType
,
nil
)
and
#
sg
==
sg
:
Filter
(
Card
.
IsLinkType
,
nil
,
TYPE_EFFECT
)
end
end
function
c21185825
.
linkcon
()
function
c21185825
.
linkcon
()
return
function
(
e
,
c
,
og
,
lmat
,
min
,
max
)
return
function
(
e
,
c
,
og
,
lmat
,
min
,
max
)
...
...
expansions/script/c60010194.lua
View file @
bbe64bd2
...
@@ -92,7 +92,7 @@ function cm.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,7 +92,7 @@ function cm.negop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
negop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
negop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
r
c
:
GetControler
()
~=
tp
and
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
())
then
if
r
p
~=
tp
and
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
())
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
expansions/script/c60040005.lua
View file @
bbe64bd2
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
--to hand
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_S
PECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_S
EARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
--to hand
--to hand
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e3
:
SetCategory
(
CATEGORY_S
EARCH
+
CATEGORY_TOHAND
)
e3
:
SetCategory
(
CATEGORY_S
PECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
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