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
def30bc8
Commit
def30bc8
authored
Nov 06, 2022
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2da01cd1
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
55 additions
and
34 deletions
+55
-34
expansions/script/c10105580.lua
expansions/script/c10105580.lua
+4
-4
expansions/script/c10105581.lua
expansions/script/c10105581.lua
+4
-4
expansions/script/c10105582.lua
expansions/script/c10105582.lua
+6
-6
expansions/script/c10105583.lua
expansions/script/c10105583.lua
+4
-4
expansions/script/c10105584.lua
expansions/script/c10105584.lua
+4
-4
expansions/script/c11451532.lua
expansions/script/c11451532.lua
+1
-1
expansions/script/c15000781.lua
expansions/script/c15000781.lua
+1
-1
expansions/script/c15000783.lua
expansions/script/c15000783.lua
+1
-1
expansions/script/c15000785.lua
expansions/script/c15000785.lua
+1
-1
expansions/script/c15000787.lua
expansions/script/c15000787.lua
+1
-1
expansions/script/c40009221.lua
expansions/script/c40009221.lua
+1
-1
expansions/script/c53702500.lua
expansions/script/c53702500.lua
+1
-2
expansions/script/c53799220.lua
expansions/script/c53799220.lua
+2
-1
expansions/script/c9910591.lua
expansions/script/c9910591.lua
+24
-3
No files found.
expansions/script/c10105580.lua
View file @
def30bc8
...
@@ -23,8 +23,8 @@ function c10105580.initial_effect(c)
...
@@ -23,8 +23,8 @@ function c10105580.initial_effect(c)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_DRAW
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_DRAW
)
e3
:
SetCountLimit
(
1
,
10105580
)
e3
:
SetCountLimit
(
1
,
10105580
)
e3
:
SetCondition
(
c10105580
.
spcon
)
e3
:
SetCondition
(
c10105580
.
spcon
)
e3
:
SetTarget
(
c10105580
.
sptg
)
e3
:
SetTarget
(
c10105580
.
sptg
2
)
e3
:
SetOperation
(
c10105580
.
spop
)
e3
:
SetOperation
(
c10105580
.
spop
2
)
e3
:
SetLabelObject
(
e2
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--search
--search
...
@@ -70,13 +70,13 @@ function c10105580.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,13 +70,13 @@ function c10105580.spcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105580
)
>
0
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105580
)
>
0
end
end
function
c10105580
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10105580
.
sptg
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
c
:
ResetFlagEffect
(
10105580
)
c
:
ResetFlagEffect
(
10105580
)
end
end
function
c10105580
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10105580
.
spop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
expansions/script/c10105581.lua
View file @
def30bc8
...
@@ -24,8 +24,8 @@ function c10105581.initial_effect(c)
...
@@ -24,8 +24,8 @@ function c10105581.initial_effect(c)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetCountLimit
(
1
,
10105581
)
e3
:
SetCountLimit
(
1
,
10105581
)
e3
:
SetCondition
(
c10105581
.
spcon
)
e3
:
SetCondition
(
c10105581
.
spcon
)
e3
:
SetTarget
(
c10105581
.
sptg
)
e3
:
SetTarget
(
c10105581
.
sptg
2
)
e3
:
SetOperation
(
c10105581
.
spop
)
e3
:
SetOperation
(
c10105581
.
spop
2
)
e3
:
SetLabelObject
(
e2
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--disable
--disable
...
@@ -71,13 +71,13 @@ function c10105581.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,13 +71,13 @@ function c10105581.spcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105581
)
>
0
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105581
)
>
0
end
end
function
c10105581
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10105581
.
sptg
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
c
:
ResetFlagEffect
(
10105581
)
c
:
ResetFlagEffect
(
10105581
)
end
end
function
c10105581
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10105581
.
spop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
expansions/script/c10105582.lua
View file @
def30bc8
...
@@ -24,8 +24,8 @@ function c10105582.initial_effect(c)
...
@@ -24,8 +24,8 @@ function c10105582.initial_effect(c)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE_START
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE_START
)
e3
:
SetCountLimit
(
1
,
10105582
)
e3
:
SetCountLimit
(
1
,
10105582
)
e3
:
SetCondition
(
c10105582
.
spcon
)
e3
:
SetCondition
(
c10105582
.
spcon
)
e3
:
SetTarget
(
c10105582
.
sptg
)
e3
:
SetTarget
(
c10105582
.
sptg
2
)
e3
:
SetOperation
(
c10105582
.
spop
)
e3
:
SetOperation
(
c10105582
.
spop
2
)
e3
:
SetLabelObject
(
e2
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--activate limit
--activate limit
...
@@ -68,13 +68,13 @@ function c10105582.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,13 +68,13 @@ function c10105582.spcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105582
)
>
0
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105582
)
>
0
end
end
function
c10105582
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10105582
.
sptg
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
c
:
ResetFlagEffect
(
10105582
)
c
:
ResetFlagEffect
(
10105582
)
end
end
function
c10105582
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10105582
.
spop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
expansions/script/c10105583.lua
View file @
def30bc8
...
@@ -24,8 +24,8 @@ function c10105583.initial_effect(c)
...
@@ -24,8 +24,8 @@ function c10105583.initial_effect(c)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE
)
e3
:
SetCountLimit
(
1
,
10105583
)
e3
:
SetCountLimit
(
1
,
10105583
)
e3
:
SetCondition
(
c10105583
.
spcon
)
e3
:
SetCondition
(
c10105583
.
spcon
)
e3
:
SetTarget
(
c10105583
.
sptg
)
e3
:
SetTarget
(
c10105583
.
sptg
2
)
e3
:
SetOperation
(
c10105583
.
spop
)
e3
:
SetOperation
(
c10105583
.
spop
2
)
e3
:
SetLabelObject
(
e2
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--remove
--remove
...
@@ -67,13 +67,13 @@ function c10105583.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,13 +67,13 @@ function c10105583.spcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105583
)
>
0
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105583
)
>
0
end
end
function
c10105583
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10105583
.
sptg
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
c
:
ResetFlagEffect
(
10105583
)
c
:
ResetFlagEffect
(
10105583
)
end
end
function
c10105583
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10105583
.
spop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
expansions/script/c10105584.lua
View file @
def30bc8
...
@@ -24,8 +24,8 @@ function c10105584.initial_effect(c)
...
@@ -24,8 +24,8 @@ function c10105584.initial_effect(c)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetCountLimit
(
1
,
10105584
)
e3
:
SetCountLimit
(
1
,
10105584
)
e3
:
SetCondition
(
c10105584
.
spcon
)
e3
:
SetCondition
(
c10105584
.
spcon
)
e3
:
SetTarget
(
c10105584
.
sptg
)
e3
:
SetTarget
(
c10105584
.
sptg
2
)
e3
:
SetOperation
(
c10105584
.
spop
)
e3
:
SetOperation
(
c10105584
.
spop
2
)
e3
:
SetLabelObject
(
e2
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--remove
--remove
...
@@ -80,13 +80,13 @@ function c10105584.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,13 +80,13 @@ function c10105584.spcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105584
)
>
0
return
e
:
GetLabelObject
():
GetLabel
()
~=
Duel
.
GetTurnCount
()
and
c
:
GetFlagEffect
(
10105584
)
>
0
end
end
function
c10105584
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10105584
.
sptg
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
c
:
ResetFlagEffect
(
10105584
)
c
:
ResetFlagEffect
(
10105584
)
end
end
function
c10105584
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10105584
.
spop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
expansions/script/c11451532.lua
View file @
def30bc8
...
@@ -108,7 +108,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -108,7 +108,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
thfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
thfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
...
...
expansions/script/c15000781.lua
View file @
def30bc8
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TODECK
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
...
...
expansions/script/c15000783.lua
View file @
def30bc8
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TODECK
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
...
...
expansions/script/c15000785.lua
View file @
def30bc8
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TODECK
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
...
...
expansions/script/c15000787.lua
View file @
def30bc8
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TODECK
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
...
...
expansions/script/c40009221.lua
View file @
def30bc8
...
@@ -33,7 +33,7 @@ function c40009221.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c40009221.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c40009221
.
spcfilter
(
c
)
function
c40009221
.
spcfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
07b
)
and
not
c
:
IsPublic
()
return
c
:
IsSetCard
(
0x
3
07b
)
and
not
c
:
IsPublic
()
end
end
function
c40009221
.
spcon
(
e
,
c
)
function
c40009221
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
expansions/script/c53702500.lua
View file @
def30bc8
...
@@ -38,7 +38,6 @@ function cm.AllGlobalCheck(c)
...
@@ -38,7 +38,6 @@ function cm.AllGlobalCheck(c)
--end
--end
local
alle5
=
Effect
.
CreateEffect
(
c
)
local
alle5
=
Effect
.
CreateEffect
(
c
)
alle5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
alle5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
alle5
:
SetRange
(
LOCATION_MZONE
)
alle5
:
SetCode
(
EFFECT_SEND_REPLACE
)
alle5
:
SetCode
(
EFFECT_SEND_REPLACE
)
alle5
:
SetTarget
(
cm
.
ThirdPeacechotg
)
alle5
:
SetTarget
(
cm
.
ThirdPeacechotg
)
alle5
:
SetValue
(
cm
.
ThirdPeacechoval
)
alle5
:
SetValue
(
cm
.
ThirdPeacechoval
)
...
@@ -166,7 +165,7 @@ end
...
@@ -166,7 +165,7 @@ end
GM_global_to_deck_check
=
true
GM_global_to_deck_check
=
true
function
cm
.
ThirdPeacechotgrepfilter
(
c
)
function
cm
.
ThirdPeacechotgrepfilter
(
c
)
local
tp
=
c
:
GetOwner
()
local
tp
=
c
:
GetOwner
()
return
c
.
main_peacecho
and
not
c
:
IsHasEffect
(
EFFECT_TO_GRAVE_REDIRECT
)
and
c
:
GetDestination
()
==
LOCATION_GRAVE
and
((
c
:
IsLocation
(
LOCATION_DECK
)
and
(
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
):
GetMinGroup
(
Card
.
GetSequence
):
GetFirst
()
~=
c
or
c
:
IsControler
(
1
-
tp
)))
or
(
not
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsAbleToDeck
()))
return
c
.
main_peacecho
and
(
c
:
GetLeaveFieldDest
()
==
0
and
not
c
:
IsHasEffect
(
EFFECT_TO_GRAVE_REDIRECT
)
)
and
c
:
GetDestination
()
==
LOCATION_GRAVE
and
((
c
:
IsLocation
(
LOCATION_DECK
)
and
(
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
):
GetMinGroup
(
Card
.
GetSequence
):
GetFirst
()
~=
c
or
c
:
IsControler
(
1
-
tp
)))
or
(
not
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsAbleToDeck
()))
end
end
function
cm
.
ThirdPeacechotg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
ThirdPeacechotg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
GM_global_to_deck_check
and
eg
:
IsExists
(
cm
.
ThirdPeacechotgrepfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
GM_global_to_deck_check
and
eg
:
IsExists
(
cm
.
ThirdPeacechotgrepfilter
,
1
,
nil
)
end
...
...
expansions/script/c53799220.lua
View file @
def30bc8
...
@@ -70,8 +70,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,8 +70,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
function
(
e
,
re
)
return
re
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
and
re
:
GetHandler
()
==
e
:
GetLabelObject
()
and
re
:
GetCode
()
&
(
EVENT_SUMMON_SUCCESS
+
EVENT_SPSUMMON_SUCCESS
)
~=
0
end
)
e1
:
SetValue
(
function
(
e
,
re
)
return
re
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
and
re
:
GetHandler
()
==
e
:
GetLabelObject
()
and
re
:
GetCode
()
&
(
EVENT_SUMMON_SUCCESS
+
EVENT_SPSUMMON_SUCCESS
)
~=
0
end
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
tc
:
CompleteProcedure
()
end
end
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
...
...
expansions/script/c9910591.lua
View file @
def30bc8
...
@@ -27,20 +27,41 @@ function c9910591.initial_effect(c)
...
@@ -27,20 +27,41 @@ function c9910591.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
ge2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge2
:
SetCode
(
EVENT_CHAIN_
SOLV
ED
)
ge2
:
SetCode
(
EVENT_CHAIN_
NEGAT
ED
)
ge2
:
SetOperation
(
c9910591
.
checkop2
)
ge2
:
SetOperation
(
c9910591
.
checkop2
)
Duel
.
RegisterEffect
(
ge2
,
0
)
Duel
.
RegisterEffect
(
ge2
,
0
)
local
ge3
=
Effect
.
CreateEffect
(
c
)
ge3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge3
:
SetCode
(
EVENT_CHAIN_SOLVED
)
ge3
:
SetOperation
(
c9910591
.
checkop3
)
Duel
.
RegisterEffect
(
ge3
,
0
)
end
end
end
end
function
c9910591
.
checkop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910591
.
checkop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
GetLabel
()
==
9910591
then
return
end
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
GetLabel
()
==
9910591
then
return
end
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
)
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
)
if
loc
==
LOCATION_MZONE
and
rc
:
GetFlagEffect
(
9910591
+
p
)
==
0
then
if
loc
~=
LOCATION_MZONE
then
return
end
rc
:
RegisterFlagEffect
(
9910591
+
p
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
,
0
,
1
)
if
rc
:
GetFlagEffect
(
9910591
+
p
)
==
0
then
rc
:
RegisterFlagEffect
(
9910591
+
p
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
,
0
,
1
,
1
)
else
local
flag
=
rc
:
GetFlagEffectLabel
(
9910591
+
p
)
if
flag
then
rc
:
SetFlagEffectLabel
(
9910591
+
p
,
flag
+
1
)
end
end
end
end
end
function
c9910591
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910591
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
GetLabel
()
==
9910591
then
return
end
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
)
if
loc
~=
LOCATION_MZONE
or
rc
:
GetFlagEffect
(
9910591
+
p
)
==
0
then
return
end
local
flag
=
rc
:
GetFlagEffectLabel
(
9910591
+
p
)
if
flag
==
1
then
rc
:
ResetFlagEffect
(
9910591
+
p
)
elseif
flag
then
rc
:
SetFlagEffectLabel
(
9910591
+
p
,
flag
-
1
)
end
end
function
c9910591
.
checkop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
GetLabel
()
==
9910591
then
return
end
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
GetLabel
()
==
9910591
then
return
end
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
)
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
)
...
...
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