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
35a35faf
Commit
35a35faf
authored
Jan 29, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2bf74dce
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
160 additions
and
257 deletions
+160
-257
expansions/script/c19209539.lua
expansions/script/c19209539.lua
+1
-1
expansions/script/c91300026.lua
expansions/script/c91300026.lua
+8
-9
expansions/script/c91300035.lua
expansions/script/c91300035.lua
+11
-9
expansions/script/c98942059.lua
expansions/script/c98942059.lua
+123
-230
expansions/script/c9910056.lua
expansions/script/c9910056.lua
+16
-8
expansions/script/c9910066.lua
expansions/script/c9910066.lua
+1
-0
No files found.
expansions/script/c19209539.lua
View file @
35a35faf
...
@@ -102,7 +102,7 @@ function c19209539.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -102,7 +102,7 @@ function c19209539.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c19209539
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19209539
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
return
re
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
end
function
c19209539
.
desfilter
(
c
)
function
c19209539
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3b50
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3b50
)
...
...
expansions/script/c91300026.lua
View file @
35a35faf
...
@@ -104,22 +104,21 @@ function s.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -104,22 +104,21 @@ function s.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
drcfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
drcfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
drcfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
drcfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
())
Duel
.
SendtoGrave
(
g
,
REASON_RELEASE
+
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_RELEASE
+
REASON_COST
)
end
end
function
s
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
end
end
function
s
.
dract
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
dract
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
h1
=
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
local
lv
=
e
:
GetLabel
(
)
if
h1
==
0
then
return
false
end
if
lv
<
4
then
return
false
end
Duel
.
BreakEffect
()
local
num
=
math.floor
(
lv
/
4
)
Duel
.
ShuffleHand
(
p
)
if
num
<
1
then
return
end
Duel
.
D
iscardHand
(
p
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
D
raw
(
p
,
num
,
REASON_EFFECT
)
end
end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c91300035.lua
View file @
35a35faf
...
@@ -18,6 +18,7 @@ function s.initial_effect(c)
...
@@ -18,6 +18,7 @@ function s.initial_effect(c)
local
ge1
=
Effect
.
CreateEffect
(
c
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_TO_GRAVE
)
ge1
:
SetCode
(
EVENT_TO_GRAVE
)
ge1
:
SetCondition
(
s
.
checkcon
)
ge1
:
SetOperation
(
s
.
checkop
)
ge1
:
SetOperation
(
s
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
local
ge2
=
ge1
:
Clone
()
...
@@ -45,6 +46,9 @@ function s.initial_effect(c)
...
@@ -45,6 +46,9 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
s
.
hackclad
=
2
s
.
hackclad
=
2
function
s
.
checkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
re
or
not
re
:
IsActivated
()
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
while
tc
do
while
tc
do
...
@@ -138,18 +142,16 @@ function s.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -138,18 +142,16 @@ function s.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
s
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
0xe
,
1
,
nil
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
local
dam
=
Duel
.
GetFieldGroupCount
(
1
-
tp
,
0xe
,
0
)
*
200
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
Duel
.
SetTargetParam
(
dam
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
dam
)
end
end
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
ct
=
Duel
.
DiscardHand
(
p
,
aux
.
TRUE
,
1
,
60
,
REASON_EFFECT
+
REASON_DISCARD
)
local
dam
=
Duel
.
GetFieldGroupCount
(
1
-
tp
,
0xe
,
0
)
*
200
if
ct
>
0
then
Duel
.
Damage
(
p
,
dam
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
Draw
(
p
,
ct
+
1
,
REASON_EFFECT
)
end
end
end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c98942059.lua
View file @
35a35faf
This diff is collapsed.
Click to expand it.
expansions/script/c9910056.lua
View file @
35a35faf
...
@@ -23,21 +23,29 @@ function c9910056.initial_effect(c)
...
@@ -23,21 +23,29 @@ function c9910056.initial_effect(c)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c9910056
.
filter
(
c
)
function
c9910056
.
td
filter
(
c
)
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
()
)
and
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAbleToDeck
()
return
c
:
IsFaceupEx
(
)
and
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAbleToDeck
()
end
end
function
c9910056
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910056
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c9910056
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
2
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c9910056
.
td
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
2
,
nil
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
2
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
2
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
end
function
c9910056
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910056
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rg
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c9910056
.
tdfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
if
rg
:
GetCount
()
<
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c9910056
.
filter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
2
,
2
,
nil
)
local
sg
=
rg
:
Select
(
tp
,
2
,
2
,
nil
)
if
g
:
GetCount
()
==
2
and
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
==
2
then
if
sg
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
HintSelection
(
sg
)
Duel
.
ShuffleDeck
(
tp
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
local
og
=
Duel
.
GetOperatedGroup
()
if
og
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
)
then
Duel
.
ShuffleDeck
(
tp
)
end
if
og
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
+
LOCATION_EXTRA
)
then
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
end
end
end
expansions/script/c9910066.lua
View file @
35a35faf
...
@@ -55,6 +55,7 @@ function c9910066.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,6 +55,7 @@ function c9910066.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
if
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
==
0
then
return
end
if
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
==
0
then
return
end
Duel
.
DisableShuffleCheck
(
false
)
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
if
og
:
GetCount
()
==
0
then
return
end
if
og
:
GetCount
()
==
0
then
return
end
Duel
.
HintSelection
(
og
)
Duel
.
HintSelection
(
og
)
...
...
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