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
6d744f0e
Commit
6d744f0e
authored
Oct 05, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2b206e0e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
19 deletions
+18
-19
expansions/script/c22348317.lua
expansions/script/c22348317.lua
+4
-2
expansions/script/c60002248.lua
expansions/script/c60002248.lua
+2
-1
expansions/script/c60002254.lua
expansions/script/c60002254.lua
+9
-5
expansions/script/c75000003.lua
expansions/script/c75000003.lua
+3
-11
No files found.
expansions/script/c22348317.lua
View file @
6d744f0e
...
...
@@ -17,8 +17,10 @@ function cm.initial_effect(c)
end
function
c22348317
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
IsOnField
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
(
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)))
return
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetActivateLocation
()
==
LOCATION_MZONE
or
((
re
:
GetActivateLocation
()
==
LOCATION_FZONE
or
re
:
GetActivateLocation
()
==
LOCATION_SZONE
)
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)))
end
function
c22348317
.
drfilter
(
c
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsDiscardable
()
...
...
expansions/script/c60002248.lua
View file @
6d744f0e
...
...
@@ -26,10 +26,11 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
spcon
(
e
,
c
)
local
tp
=
c
:
GetControler
()
local
num
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
c
==
nil
then
return
true
end
return
num
>=
20
and
Duel
.
GetLocationCount
(
c
:
GetControler
()
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
cm
.
thfilter
(
c
)
return
c
:
IsCode
(
60002250
)
...
...
expansions/script/c60002254.lua
View file @
6d744f0e
...
...
@@ -13,18 +13,22 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_
MZONE
,
3
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
ONFIELD
)
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_
ONFIELD
,
3
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
ag
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_
MZONE
,
3
,
3
,
nil
)
local
ag
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_
ONFIELD
,
3
,
3
,
nil
)
Duel
.
SetTargetCard
(
ag
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
ag
,
1
,
0
,
0
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
rc
=
tg
:
GetFirst
()
local
cd
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
cd
:
RemoveCard
(
tc
)
while
rc
do
cd
:
RemoveCard
(
rc
)
rc
=
tg
:
GetNext
()
end
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
60002252
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
local
og
=
nil
local
gm
=
nil
...
...
expansions/script/c75000003.lua
View file @
6d744f0e
--救世神龙 传承琉迩
function
c75000003
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProc
Mix
(
c
,
true
,
true
,
c75000003
.
fusfilter1
,
c75000003
.
fusfilter2
,
c75000003
.
fusfilter3
)
aux
.
AddFusionProc
Code2FunRep
(
c
,
21159309
,
75000001
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x751
),
1
,
1
,
true
,
true
)
--cannot disable spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -53,16 +54,7 @@ function c75000003.initial_effect(c)
e5
:
SetOperation
(
c75000003
.
fuop
)
c
:
RegisterEffect
(
e5
)
end
c75000003
.
material_setcode
=
75000001
function
c75000003
.
fusfilter1
(
c
)
return
c
:
IsFusionCode
(
21159309
)
end
function
c75000003
.
fusfilter2
(
c
)
return
c
:
IsFusionCode
(
75000001
)
end
function
c75000003
.
fusfilter3
(
c
)
return
c
:
IsFusionSetCard
(
0x751
)
end
c75000003
.
material_setcode
=
75000001
function
c75000003
.
tddcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsSetCard
(
0x751
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
end
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
function
(
c
)
return
c
:
IsSetCard
(
0x751
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
end
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
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