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
fca91818
Commit
fca91818
authored
May 31, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6abd7ef6
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
22 additions
and
21 deletions
+22
-21
expansions/script/c64800217.lua
expansions/script/c64800217.lua
+2
-3
expansions/script/c64800225.lua
expansions/script/c64800225.lua
+4
-6
expansions/script/c91030003.lua
expansions/script/c91030003.lua
+3
-2
expansions/script/c91030005.lua
expansions/script/c91030005.lua
+2
-1
expansions/script/c91030006.lua
expansions/script/c91030006.lua
+1
-0
expansions/script/c91030007.lua
expansions/script/c91030007.lua
+1
-0
expansions/script/c91030009.lua
expansions/script/c91030009.lua
+1
-0
expansions/script/c91030010.lua
expansions/script/c91030010.lua
+1
-0
expansions/script/c91030011.lua
expansions/script/c91030011.lua
+2
-1
expansions/script/c91030025.lua
expansions/script/c91030025.lua
+5
-8
No files found.
expansions/script/c64800217.lua
View file @
fca91818
...
...
@@ -13,7 +13,6 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_HAND
)
...
...
@@ -59,7 +58,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
desfilter
(
c
,
e
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
,
Group
.
FromCards
(
c
))
return
c
:
IsSetCard
(
0x541a
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
,
Group
.
FromCards
(
c
))
end
function
s
.
spfilter
(
c
,
e
,
tp
,
dg
)
local
tc
=
dg
:
GetFirst
()
...
...
expansions/script/c64800225.lua
View file @
fca91818
...
...
@@ -9,7 +9,6 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCondition
(
s
.
condition
)
e2
:
SetTarget
(
s
.
target
)
...
...
@@ -30,6 +29,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e3
:
SetCountLimit
(
1
,
id
+
20000
)
e3
:
SetCondition
(
s
.
chcon
)
e3
:
SetTarget
(
s
.
chtg
)
...
...
@@ -86,14 +86,12 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
end
function
s
.
dsfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsFaceup
()
end
function
s
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rep
=
re
:
GetOperation
()
if
not
rep
then
return
true
end
return
(
re
:
IsActiveType
(
TYPE_SPELL
)
or
re
:
IsActiveType
(
TYPE_TRAP
))
end
function
s
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
dsfilter
,
rp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
end
...
...
expansions/script/c91030003.lua
View file @
fca91818
...
...
@@ -30,7 +30,8 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
{
b2
,
aux
.
Stringid
(
m
,
1
)},
{
b3
,
aux
.
Stringid
(
m
,
2
)})
if
op
==
1
then
Duel
.
SelectTarget
(
tp
,
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
e
:
SetCategory
(
CATEGORY_DISABLE
)
if
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
TYPE_QUICKPLAY
)
>=
3
then
e
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_CONTROL
)
end
...
...
expansions/script/c91030005.lua
View file @
fca91818
...
...
@@ -32,7 +32,8 @@ if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and
{
b1
,
aux
.
Stringid
(
m
,
0
)},
{
b2
,
aux
.
Stringid
(
m
,
1
)},
{
b3
,
aux
.
Stringid
(
m
,
2
)})
if
op
==
1
then
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
op
==
1
then
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
if
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
TYPE_QUICKPLAY
)
>=
3
then
Duel
.
SetChainLimit
(
cm
.
chainlm
)
end
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
elseif
op
==
2
then
...
...
expansions/script/c91030006.lua
View file @
fca91818
...
...
@@ -37,6 +37,7 @@ local spchk=Duel.GetLocationCount(tp,LOCATION_MZONE)>0
{
b3
,
aux
.
Stringid
(
m
,
2
)})
if
op
==
1
then
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
,
tp
,
spchk
)
Duel
.
HintSelection
(
g
)
e
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_ACTION
+
CATEGORY_GRAVE_SPSUMMON
)
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
elseif
op
==
2
then
...
...
expansions/script/c91030007.lua
View file @
fca91818
...
...
@@ -32,6 +32,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
{
b3
,
aux
.
Stringid
(
m
,
2
)})
if
op
==
1
then
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
elseif
op
==
2
then
...
...
expansions/script/c91030009.lua
View file @
fca91818
...
...
@@ -38,6 +38,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
{
b3
,
aux
.
Stringid
(
m
,
2
)})
if
op
==
1
then
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
HintSelection
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
elseif
op
==
2
then
...
...
expansions/script/c91030010.lua
View file @
fca91818
...
...
@@ -34,6 +34,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
{
b3
,
aux
.
Stringid
(
m
,
2
)})
if
op
==
1
then
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsType
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
(),
TYPE_SPELL
+
TYPE_TRAP
)
Duel
.
HintSelection
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
elseif
op
==
2
then
...
...
expansions/script/c91030011.lua
View file @
fca91818
...
...
@@ -34,7 +34,8 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
{
b2
,
aux
.
Stringid
(
m
,
1
)},
{
b3
,
aux
.
Stringid
(
m
,
2
)})
if
op
==
1
then
Duel
.
SelectTarget
(
tp
,
cm
.
fit
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
fit
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
elseif
op
==
2
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
...
...
expansions/script/c91030025.lua
View file @
fca91818
...
...
@@ -16,6 +16,7 @@ function c91030025.initial_effect(c)
--remove
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
@@ -60,11 +61,11 @@ function c91030025.lcheck(g,lc)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x9d3
)
end
function
cm
.
cpfilter
(
c
)
return
c
:
IsType
(
TYPE_QUICKPLAY
)
and
c
:
IsSetCard
(
0x9d3
)
and
c
:
CheckActivateEffect
(
true
,
true
,
false
)
return
c
:
IsType
(
TYPE_QUICKPLAY
)
and
c
:
IsSetCard
(
0x9d3
)
and
c
:
IsAbleToHand
(
)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
th
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
th
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
cp
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
cp
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
cpfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
...
...
@@ -75,7 +76,3 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
function
cm
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
end
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