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
6502e317
Commit
6502e317
authored
Oct 08, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e48261e1
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
9 deletions
+14
-9
expansions/script/c12835102.lua
expansions/script/c12835102.lua
+1
-1
expansions/script/c12869010.lua
expansions/script/c12869010.lua
+2
-2
expansions/script/c12869015.lua
expansions/script/c12869015.lua
+2
-2
expansions/script/c12869020.lua
expansions/script/c12869020.lua
+2
-2
expansions/script/c60010128.lua
expansions/script/c60010128.lua
+1
-0
expansions/script/c60010240.lua
expansions/script/c60010240.lua
+1
-0
expansions/script/c88897022.lua
expansions/script/c88897022.lua
+5
-2
No files found.
expansions/script/c12835102.lua
View file @
6502e317
...
...
@@ -120,7 +120,7 @@ end
function
c12835102
.
con62
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetEquipTarget
()
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
or
{}
local
seq
=
tc
:
GetSequence
()
local
tp
=
tc
:
GetControler
()
if
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
#
g
>
0
and
g
:
IsContains
(
tc
)
then
return
false
end
...
...
expansions/script/c12869010.lua
View file @
6502e317
...
...
@@ -42,7 +42,7 @@ end
function
c12869010
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
(
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
12869010
,
2
))
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
...
...
@@ -51,7 +51,6 @@ function c12869010.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
500
)
tc
:
RegisterEffect
(
e1
)
end
local
zone
=
{}
local
flag
=
{}
for
p
=
0
,
1
do
...
...
@@ -79,6 +78,7 @@ function c12869010.spop(e,tp,eg,ep,ev,re,r,rp)
sel_zone
=
sel_zone
>>
16
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
sump
,
false
,
false
,
POS_FACEUP
,
sel_zone
)
end
end
function
c12869010
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x6a70
)
and
c
:
IsAbleToGraveAsCost
()
...
...
expansions/script/c12869015.lua
View file @
6502e317
...
...
@@ -42,7 +42,7 @@ end
function
c12869015
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
(
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
12869015
,
2
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -54,7 +54,6 @@ function c12869015.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
tc
:
RegisterEffect
(
e2
)
end
local
zone
=
{}
local
flag
=
{}
for
p
=
0
,
1
do
...
...
@@ -82,6 +81,7 @@ function c12869015.spop(e,tp,eg,ep,ev,re,r,rp)
sel_zone
=
sel_zone
>>
16
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
sump
,
false
,
false
,
POS_FACEUP
,
sel_zone
)
end
end
function
c12869015
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x6a70
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
expansions/script/c12869020.lua
View file @
6502e317
...
...
@@ -42,7 +42,7 @@ end
function
c12869020
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
(
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
12869020
,
2
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -52,7 +52,6 @@ function c12869020.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
c12869020
.
efilter
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
)
tc
:
RegisterEffect
(
e1
)
end
local
zone
=
{}
local
flag
=
{}
for
p
=
0
,
1
do
...
...
@@ -80,6 +79,7 @@ function c12869020.spop(e,tp,eg,ep,ev,re,r,rp)
sel_zone
=
sel_zone
>>
16
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
sump
,
false
,
false
,
POS_FACEUP
,
sel_zone
)
end
end
function
c12869020
.
efilter
(
e
,
te
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c60010128.lua
View file @
6502e317
...
...
@@ -78,6 +78,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetCondition
(
cm
.
slcon
)
e1
:
SetOperation
(
cm
.
slop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
expansions/script/c60010240.lua
View file @
6502e317
...
...
@@ -78,6 +78,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetCondition
(
cm
.
slcon
)
e1
:
SetOperation
(
cm
.
slop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
expansions/script/c88897022.lua
View file @
6502e317
...
...
@@ -53,6 +53,9 @@ function s.initial_effect(c)
e6
:
SetValue
(
s
.
efilter
)
c
:
RegisterEffect
(
e6
)
end
function
s
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
...
...
@@ -98,7 +101,7 @@ function s.thcon2(e,tp,eg,ep,ev,re,r,rp)
and
(
c
:
GetPreviousSequence
()
~=
c
:
GetSequence
()
or
c
:
GetPreviousControler
()
~=
tp
)
end
function
s
.
thtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
+
TYPE_MONSTER
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
+
TYPE_MONSTER
)
end
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetParam
(
500
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
500
)
...
...
@@ -108,7 +111,7 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
+
TYPE_MONSTER
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
+
TYPE_MONSTER
)
if
g
:
GetCount
()
>
0
then
Duel
.
Overlay
(
c
,
g
)
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