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
Huangnan
no81cards
Commits
7b64dae0
Commit
7b64dae0
authored
Mar 24, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fca6c85d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
346 additions
and
240 deletions
+346
-240
expansions/script/c10700447.lua
expansions/script/c10700447.lua
+36
-50
expansions/script/c115399521.lua
expansions/script/c115399521.lua
+307
-187
expansions/script/c30553307.lua
expansions/script/c30553307.lua
+1
-1
expansions/script/c67200800.lua
expansions/script/c67200800.lua
+1
-1
expansions/script/c67200801.lua
expansions/script/c67200801.lua
+1
-1
No files found.
expansions/script/c10700447.lua
View file @
7b64dae0
...
...
@@ -8,14 +8,14 @@ function c10700447.initial_effect(c)
--SpecialSummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
10700447
,
0
))
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_ATKCHANGE
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
,
10700447
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetTarget
(
c10700447
.
target
)
e1
:
SetOperation
(
c10700447
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--indes
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -27,64 +27,50 @@ function c10700447.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c10700447
.
filter
(
c
)
local
lv
=
c
:
GetLevel
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
end
function
c10700447
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
c10700447
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c10700447
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c10700447
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
if
not
tc
:
IsType
(
0x4800000
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
0x01
)
end
end
function
c10700447
.
spfilter
(
c
,
e
,
tp
,
lv
)
return
c
:
IsSetCard
(
0x71
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevel
(
lv
)
end
function
c10700447
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x71
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c10700447
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x71
)
and
c
:
IsLevel
(
3
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c10700447
.
spfilter2
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x71
)
and
c
:
IsLevel
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c10700447
.
spfilter3
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x71
)
and
c
:
IsLevel
(
5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c10700447
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
cs
=
Duel
.
GetFirstTarget
()
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
c10700447
.
indtg
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
500
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c10700447
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
10700447
,
1
))
then
if
cs
:
GetLevel
()
==
3
then
Duel
.
BreakEffect
()
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c10700447
.
spfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
sc1
=
g1
:
GetFirst
()
if
sc1
then
Duel
.
SpecialSummon
(
sc1
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
elseif
cs
:
GetLevel
()
==
4
then
Duel
.
BreakEffect
()
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c10700447
.
spfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
sc2
=
g2
:
GetFirst
()
if
sc2
then
Duel
.
SpecialSummon
(
sc2
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
elseif
cs
:
GetLevel
()
==
5
then
Duel
.
BreakEffect
()
local
g3
=
Duel
.
SelectMatchingCard
(
tp
,
c10700447
.
spfilter3
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
sc3
=
g3
:
GetFirst
()
if
sc3
then
Duel
.
SpecialSummon
(
sc3
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
local
lv
=
tc
:
GetLevel
()
if
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
c10700447
.
indtg
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
500
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
(
not
tc
:
IsType
(
0x4800000
))
and
Duel
.
GetLocationCount
(
tp
,
0x04
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c10700447
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
lv
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
10700447
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c10700447
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
lv
)
if
#
g
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
end
function
c10700447
.
indtg
(
e
,
c
)
...
...
expansions/script/c115399521.lua
View file @
7b64dae0
This diff is collapsed.
Click to expand it.
expansions/script/c30553307.lua
View file @
7b64dae0
...
...
@@ -29,7 +29,7 @@ function cm.initial_effect(c)
end
--xyz
function
cm
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsLevelAbove
(
12
)
or
(
c
:
GetType
()
&
TYPE_XYZ
==
TYPE_XYZ
and
c
:
IsRankAbove
(
12
)))
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x308
)
and
(
c
:
IsLevelAbove
(
12
)
or
(
c
:
GetType
()
&
TYPE_XYZ
==
TYPE_XYZ
and
c
:
IsRankAbove
(
12
)))
end
--e1
function
cm
.
cos1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c67200800.lua
View file @
7b64dae0
...
...
@@ -69,7 +69,7 @@ function c67200800.desop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
e1
:
SetValue
(
TYPE_
SPELL
+
TYPE_CONTINUOUS
)
e1
:
SetValue
(
TYPE_
TRAP
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c67200801.lua
View file @
7b64dae0
...
...
@@ -69,7 +69,7 @@ function c67200801.desop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
e1
:
SetValue
(
TYPE_
SPELL
+
TYPE_CONTINUOUS
)
e1
:
SetValue
(
TYPE_
TRAP
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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