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
d4903aa6
Commit
d4903aa6
authored
May 12, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8cabca5f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
14 deletions
+13
-14
expansions/script/c60000011.lua
expansions/script/c60000011.lua
+3
-3
expansions/script/c60001101.lua
expansions/script/c60001101.lua
+8
-8
expansions/script/c98699801.lua
expansions/script/c98699801.lua
+1
-1
expansions/script/c98699815.lua
expansions/script/c98699815.lua
+0
-1
expansions/script/c98921041.lua
expansions/script/c98921041.lua
+1
-1
No files found.
expansions/script/c60000011.lua
View file @
d4903aa6
...
...
@@ -54,13 +54,13 @@ function c60000011.spfilter(c,e,tp)
end
function
c60000011
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c60000011
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
and
Duel
.
IsExistingMatchingCard
(
c60000011
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c60000011
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c60000011
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c60000011
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
expansions/script/c60001101.lua
View file @
d4903aa6
...
...
@@ -70,33 +70,33 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
cm
.
tgsfilter
(
c
,
e
,
tp
)
function
cm
.
tgsfilter
1
(
c
,
e
,
tp
)
return
c
:
IsLevel
(
1
)
and
c
:
IsSetCard
(
0x115
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
tgtfilter
(
c
)
function
cm
.
tgtfilter
2
(
c
)
return
c
:
IsLevel
(
1
)
and
c
:
IsSetCard
(
0x115
)
and
c
:
IsAbleToHand
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
(
Duel
.
IsExistingMatchingCard
(
cm
.
tgsfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
tgtfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
Duel
.
IsExistingMatchingCard
(
cm
.
tgsfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
DECK
)
if
chk
==
0
then
return
(
Duel
.
IsExistingMatchingCard
(
cm
.
tgsfilter
1
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
tgtfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
Duel
.
IsExistingMatchingCard
(
cm
.
tgsfilter
1
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
HAND
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
(
Duel
.
IsExistingMatchingCard
(
cm
.
tgsfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
and
(
not
Duel
.
IsExistingMatchingCard
(
cm
.
tgtfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
if
(
Duel
.
IsExistingMatchingCard
(
cm
.
tgsfilter
1
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
and
(
not
Duel
.
IsExistingMatchingCard
(
cm
.
tgtfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
))
==
1
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
tgsfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
tgsfilter
1
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
tgtfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
tgtfilter
2
,
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/c98699801.lua
View file @
d4903aa6
...
...
@@ -61,7 +61,7 @@ function cm.atkval(e,c)
return
Duel
.
GetMatchingGroupCount
(
cm
.
rmfilter
,
c
:
GetControler
(),
LOCATION_REMOVED
,
0
,
nil
)
*
200
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFace
down
()
or
not
c
:
IsSetCard
(
0x876
)
return
c
:
IsFace
up
()
and
not
c
:
IsSetCard
(
0x876
)
end
function
cm
.
cpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
...
...
expansions/script/c98699815.lua
View file @
d4903aa6
...
...
@@ -6,7 +6,6 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c98921041.lua
View file @
d4903aa6
...
...
@@ -66,7 +66,7 @@ function c98921041.desop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
if
not
(
tc
:
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
or
tc
:
IsLocation
(
LOCATION_REMOVED
)
and
tc
:
IsFacedown
())
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
98921041
,
0
,
TYPES_NORMAL_TRAP_MONSTER
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98921041
,
1
))
then
if
not
(
tc
:
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
or
tc
:
IsLocation
(
LOCATION_REMOVED
)
and
tc
:
IsFacedown
())
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
tc
:
GetCode
()
,
0
,
TYPES_NORMAL_TRAP_MONSTER
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98921041
,
1
))
then
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
...
...
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