Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
95597152
Commit
95597152
authored
Jun 04, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
newline at EOF
parent
6975d6f4
Changes
93
Hide whitespace changes
Inline
Side-by-side
Showing
93 changed files
with
93 additions
and
93 deletions
+93
-93
c10474647.lua
c10474647.lua
+1
-1
c11590299.lua
c11590299.lua
+1
-1
c1164211.lua
c1164211.lua
+1
-1
c1340142.lua
c1340142.lua
+1
-1
c14307929.lua
c14307929.lua
+1
-1
c14529511.lua
c14529511.lua
+1
-1
c1528054.lua
c1528054.lua
+1
-1
c1607603.lua
c1607603.lua
+1
-1
c19316241.lua
c19316241.lua
+1
-1
c19652159.lua
c19652159.lua
+1
-1
c22435424.lua
c22435424.lua
+1
-1
c22712877.lua
c22712877.lua
+1
-1
c23657016.lua
c23657016.lua
+1
-1
c24166324.lua
c24166324.lua
+1
-1
c24440742.lua
c24440742.lua
+1
-1
c2463794.lua
c2463794.lua
+1
-1
c24779554.lua
c24779554.lua
+1
-1
c24839398.lua
c24839398.lua
+1
-1
c25388971.lua
c25388971.lua
+1
-1
c25592142.lua
c25592142.lua
+1
-1
c342673.lua
c342673.lua
+1
-1
c34813443.lua
c34813443.lua
+1
-1
c35035985.lua
c35035985.lua
+1
-1
c35151572.lua
c35151572.lua
+1
-1
c35552985.lua
c35552985.lua
+1
-1
c35614780.lua
c35614780.lua
+1
-1
c35778533.lua
c35778533.lua
+1
-1
c36400569.lua
c36400569.lua
+1
-1
c36436372.lua
c36436372.lua
+1
-1
c3685372.lua
c3685372.lua
+1
-1
c36890111.lua
c36890111.lua
+1
-1
c36974120.lua
c36974120.lua
+1
-1
c37006702.lua
c37006702.lua
+1
-1
c37552929.lua
c37552929.lua
+1
-1
c37613663.lua
c37613663.lua
+1
-1
c38745241.lua
c38745241.lua
+1
-1
c38775407.lua
c38775407.lua
+1
-1
c402416.lua
c402416.lua
+1
-1
c40702028.lua
c40702028.lua
+1
-1
c41924516.lua
c41924516.lua
+1
-1
c48228390.lua
c48228390.lua
+1
-1
c49689480.lua
c49689480.lua
+1
-1
c49867899.lua
c49867899.lua
+1
-1
c50042011.lua
c50042011.lua
+1
-1
c50838440.lua
c50838440.lua
+1
-1
c51650038.lua
c51650038.lua
+1
-1
c56863746.lua
c56863746.lua
+1
-1
c57985393.lua
c57985393.lua
+1
-1
c58707981.lua
c58707981.lua
+1
-1
c59016454.lua
c59016454.lua
+1
-1
c59829423.lua
c59829423.lua
+1
-1
c60238002.lua
c60238002.lua
+1
-1
c60764609.lua
c60764609.lua
+1
-1
c61434639.lua
c61434639.lua
+1
-1
c61773610.lua
c61773610.lua
+1
-1
c61950680.lua
c61950680.lua
+1
-1
c61980241.lua
c61980241.lua
+1
-1
c62002838.lua
c62002838.lua
+1
-1
c62156277.lua
c62156277.lua
+1
-1
c62173132.lua
c62173132.lua
+1
-1
c62995268.lua
c62995268.lua
+1
-1
c63017368.lua
c63017368.lua
+1
-1
c63295720.lua
c63295720.lua
+1
-1
c63378869.lua
c63378869.lua
+1
-1
c63825486.lua
c63825486.lua
+1
-1
c63947968.lua
c63947968.lua
+1
-1
c73490417.lua
c73490417.lua
+1
-1
c74139959.lua
c74139959.lua
+1
-1
c74169516.lua
c74169516.lua
+1
-1
c74213995.lua
c74213995.lua
+1
-1
c75352507.lua
c75352507.lua
+1
-1
c76078185.lua
c76078185.lua
+1
-1
c76290637.lua
c76290637.lua
+1
-1
c77313225.lua
c77313225.lua
+1
-1
c82135803.lua
c82135803.lua
+1
-1
c83257450.lua
c83257450.lua
+1
-1
c84079032.lua
c84079032.lua
+1
-1
c84192580.lua
c84192580.lua
+1
-1
c85314178.lua
c85314178.lua
+1
-1
c8540986.lua
c8540986.lua
+1
-1
c885016.lua
c885016.lua
+1
-1
c96030710.lua
c96030710.lua
+1
-1
c97045737.lua
c97045737.lua
+1
-1
c97223101.lua
c97223101.lua
+1
-1
c97262307.lua
c97262307.lua
+1
-1
c97345699.lua
c97345699.lua
+1
-1
c9763474.lua
c9763474.lua
+1
-1
c98007437.lua
c98007437.lua
+1
-1
c98167225.lua
c98167225.lua
+1
-1
c98385955.lua
c98385955.lua
+1
-1
c98828338.lua
c98828338.lua
+1
-1
c99229085.lua
c99229085.lua
+1
-1
c99289828.lua
c99289828.lua
+1
-1
No files found.
c10474647.lua
View file @
95597152
...
@@ -92,4 +92,4 @@ function s.atkop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,4 +92,4 @@ function s.atkop2(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
end
end
end
end
\ No newline at end of file
c11590299.lua
View file @
95597152
...
@@ -63,4 +63,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,4 +63,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
else
else
Duel
.
MoveSequence
(
tc
,
SEQ_DECKBOTTOM
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKBOTTOM
)
end
end
end
end
\ No newline at end of file
c1164211.lua
View file @
95597152
...
@@ -90,4 +90,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -90,4 +90,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
efilter
(
e
,
re
)
function
s
.
efilter
(
e
,
re
)
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
end
\ No newline at end of file
c1340142.lua
View file @
95597152
...
@@ -71,4 +71,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,4 +71,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x6a
,
3
,
REASON_EFFECT
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x6a
,
3
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c14307929.lua
View file @
95597152
...
@@ -79,4 +79,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,4 +79,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
c14529511.lua
View file @
95597152
...
@@ -95,4 +95,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,4 +95,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
\ No newline at end of file
c1528054.lua
View file @
95597152
...
@@ -95,4 +95,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,4 +95,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c1607603.lua
View file @
95597152
...
@@ -69,4 +69,4 @@ function s.slop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,4 +69,4 @@ function s.slop(e,tp,eg,ep,ev,re,r,rp)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
c19316241.lua
View file @
95597152
...
@@ -95,4 +95,4 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,4 +95,4 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
end
end
end
\ No newline at end of file
c19652159.lua
View file @
95597152
...
@@ -97,4 +97,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -97,4 +97,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
c22435424.lua
View file @
95597152
...
@@ -89,4 +89,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,4 +89,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
\ No newline at end of file
c22712877.lua
View file @
95597152
...
@@ -59,4 +59,4 @@ function s.tkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,4 +59,4 @@ function s.tkop(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_THUNDER
,
ATTRIBUTE_DARK
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_THUNDER
,
ATTRIBUTE_DARK
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
local
token
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
c23657016.lua
View file @
95597152
...
@@ -87,4 +87,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
splimit
(
e
,
c
)
function
s
.
splimit
(
e
,
c
)
return
not
c
:
IsRace
(
RACE_DRAGON
)
return
not
c
:
IsRace
(
RACE_DRAGON
)
end
end
\ No newline at end of file
c24166324.lua
View file @
95597152
...
@@ -152,4 +152,4 @@ function s.RitualUltimateFilter(c,filter,e,tp,m1,m2,attack_function,greater_or_e
...
@@ -152,4 +152,4 @@ function s.RitualUltimateFilter(c,filter,e,tp,m1,m2,attack_function,greater_or_e
local
res
=
mg
:
CheckSubGroup
(
s
.
RitualCheck
,
1
,
#
mg
,
tp
,
c
,
atk
,
greater_or_equal
)
local
res
=
mg
:
CheckSubGroup
(
s
.
RitualCheck
,
1
,
#
mg
,
tp
,
c
,
atk
,
greater_or_equal
)
aux
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
return
res
return
res
end
end
\ No newline at end of file
c24440742.lua
View file @
95597152
...
@@ -88,4 +88,4 @@ end
...
@@ -88,4 +88,4 @@ end
function
s
.
indtg
(
e
,
c
)
function
s
.
indtg
(
e
,
c
)
local
tc
=
e
:
GetHandler
()
local
tc
=
e
:
GetHandler
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
end
end
\ No newline at end of file
c2463794.lua
View file @
95597152
...
@@ -92,4 +92,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,4 +92,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
eqlimit
(
e
,
c
)
function
s
.
eqlimit
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
return
c
==
e
:
GetLabelObject
()
end
end
\ No newline at end of file
c24779554.lua
View file @
95597152
...
@@ -104,4 +104,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -104,4 +104,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
\ No newline at end of file
c24839398.lua
View file @
95597152
...
@@ -108,4 +108,4 @@ end
...
@@ -108,4 +108,4 @@ end
function
s
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
end
end
\ No newline at end of file
c25388971.lua
View file @
95597152
...
@@ -74,4 +74,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,4 +74,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
end
end
\ No newline at end of file
c25592142.lua
View file @
95597152
...
@@ -69,4 +69,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,4 +69,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
c342673.lua
View file @
95597152
...
@@ -68,4 +68,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,4 +68,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
end
end
end
end
end
end
\ No newline at end of file
c34813443.lua
View file @
95597152
...
@@ -143,4 +143,4 @@ function s.attop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -143,4 +143,4 @@ function s.attop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c35035985.lua
View file @
95597152
...
@@ -65,4 +65,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,4 +65,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c35151572.lua
View file @
95597152
...
@@ -60,4 +60,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,4 +60,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
hg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
hg
,
nil
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c35552985.lua
View file @
95597152
...
@@ -69,4 +69,4 @@ end
...
@@ -69,4 +69,4 @@ end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
end
end
\ No newline at end of file
c35614780.lua
View file @
95597152
...
@@ -153,4 +153,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -153,4 +153,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
bc
:
RegisterEffect
(
e3
)
bc
:
RegisterEffect
(
e3
)
end
end
end
end
end
end
\ No newline at end of file
c35778533.lua
View file @
95597152
...
@@ -51,4 +51,4 @@ end
...
@@ -51,4 +51,4 @@ end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
end
end
\ No newline at end of file
c36400569.lua
View file @
95597152
...
@@ -75,4 +75,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,4 +75,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
end
end
end
end
\ No newline at end of file
c36436372.lua
View file @
95597152
...
@@ -71,4 +71,4 @@ function s.upop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,4 +71,4 @@ function s.upop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
end
end
\ No newline at end of file
c3685372.lua
View file @
95597152
...
@@ -109,4 +109,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -109,4 +109,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
1
-
tp
,
math.floor
(
atk
/
2
),
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
math.floor
(
atk
/
2
),
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c36890111.lua
View file @
95597152
...
@@ -73,4 +73,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,4 +73,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
end
end
\ No newline at end of file
c36974120.lua
View file @
95597152
...
@@ -79,4 +79,4 @@ function s.adop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,4 +79,4 @@ function s.adop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c37006702.lua
View file @
95597152
...
@@ -83,4 +83,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,4 +83,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c37552929.lua
View file @
95597152
...
@@ -80,4 +80,4 @@ end
...
@@ -80,4 +80,4 @@ end
function
s
.
indtg
(
e
,
c
)
function
s
.
indtg
(
e
,
c
)
local
tc
=
e
:
GetHandler
()
local
tc
=
e
:
GetHandler
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
end
end
\ No newline at end of file
c37613663.lua
View file @
95597152
...
@@ -80,4 +80,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,4 +80,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
,
tp
,
true
)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
,
tp
,
true
)
end
end
end
end
\ No newline at end of file
c38745241.lua
View file @
95597152
...
@@ -84,4 +84,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,4 +84,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
aclimit
(
e
,
re
,
tp
)
function
s
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsSetCard
(
0x71
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsSetCard
(
0x71
)
end
end
\ No newline at end of file
c38775407.lua
View file @
95597152
...
@@ -90,4 +90,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -90,4 +90,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
efilter
(
e
,
re
)
function
s
.
efilter
(
e
,
re
)
return
re
:
IsActiveType
(
TYPE_EFFECT
)
return
re
:
IsActiveType
(
TYPE_EFFECT
)
end
end
\ No newline at end of file
c402416.lua
View file @
95597152
...
@@ -106,4 +106,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -106,4 +106,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
eqlimit
(
e
,
c
)
function
s
.
eqlimit
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
return
c
==
e
:
GetLabelObject
()
end
end
\ No newline at end of file
c40702028.lua
View file @
95597152
...
@@ -88,4 +88,4 @@ end
...
@@ -88,4 +88,4 @@ end
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c41924516.lua
View file @
95597152
...
@@ -45,4 +45,4 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,4 +45,4 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
atktg
(
e
,
c
)
function
s
.
atktg
(
e
,
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsRace
(
RACE_ILLUSION
+
RACE_SPELLCASTER
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsRace
(
RACE_ILLUSION
+
RACE_SPELLCASTER
)
end
end
\ No newline at end of file
c48228390.lua
View file @
95597152
...
@@ -74,4 +74,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,4 +74,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
c49689480.lua
View file @
95597152
...
@@ -79,4 +79,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,4 +79,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c49867899.lua
View file @
95597152
...
@@ -144,4 +144,4 @@ function s.fdfilter(c)
...
@@ -144,4 +144,4 @@ function s.fdfilter(c)
end
end
function
s
.
gdfilter
(
c
)
function
s
.
gdfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
)
end
end
\ No newline at end of file
c50042011.lua
View file @
95597152
...
@@ -148,4 +148,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -148,4 +148,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c50838440.lua
View file @
95597152
...
@@ -83,4 +83,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,4 +83,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
end
end
end
end
\ No newline at end of file
c51650038.lua
View file @
95597152
...
@@ -90,4 +90,4 @@ function s.matop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -90,4 +90,4 @@ function s.matop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
end
end
end
end
\ No newline at end of file
c56863746.lua
View file @
95597152
...
@@ -103,4 +103,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -103,4 +103,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
end
end
\ No newline at end of file
c57985393.lua
View file @
95597152
...
@@ -79,4 +79,4 @@ end
...
@@ -79,4 +79,4 @@ end
function
s
.
synlimit
(
e
,
c
)
function
s
.
synlimit
(
e
,
c
)
if
not
c
then
return
false
end
if
not
c
then
return
false
end
return
not
c
:
IsLevelBelow
(
8
)
return
not
c
:
IsLevelBelow
(
8
)
end
end
\ No newline at end of file
c58707981.lua
View file @
95597152
...
@@ -79,4 +79,4 @@ function s.penop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,4 +79,4 @@ function s.penop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
end
end
end
end
\ No newline at end of file
c59016454.lua
View file @
95597152
...
@@ -68,4 +68,4 @@ function s.condition2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,4 +68,4 @@ function s.condition2(e,tp,eg,ep,ev,re,r,rp)
if
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
false
end
if
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
false
end
local
ex
,
tg
,
tc
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DESTROY
)
local
ex
,
tg
,
tc
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DESTROY
)
return
ex
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
s
.
cfilter3
,
nil
)
-
tg
:
GetCount
()
>
0
return
ex
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
s
.
cfilter3
,
nil
)
-
tg
:
GetCount
()
>
0
end
end
\ No newline at end of file
c59829423.lua
View file @
95597152
...
@@ -78,4 +78,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,4 +78,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c60238002.lua
View file @
95597152
...
@@ -107,4 +107,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -107,4 +107,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
and
ec
:
IsLocation
(
LOCATION_REMOVED
)
then
if
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
and
ec
:
IsLocation
(
LOCATION_REMOVED
)
then
Duel
.
ReturnToField
(
e
:
GetLabelObject
())
Duel
.
ReturnToField
(
e
:
GetLabelObject
())
end
end
end
end
\ No newline at end of file
c60764609.lua
View file @
95597152
...
@@ -95,4 +95,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,4 +95,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
c61434639.lua
View file @
95597152
...
@@ -47,4 +47,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,4 +47,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
end
end
end
\ No newline at end of file
c61773610.lua
View file @
95597152
...
@@ -92,4 +92,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,4 +92,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
atk
)
e1
:
SetValue
(
atk
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c61950680.lua
View file @
95597152
...
@@ -78,4 +78,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,4 +78,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
e1
:
SetValue
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c61980241.lua
View file @
95597152
...
@@ -72,4 +72,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,4 +72,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c62002838.lua
View file @
95597152
...
@@ -148,4 +148,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -148,4 +148,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c62156277.lua
View file @
95597152
...
@@ -54,4 +54,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,4 +54,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c62173132.lua
View file @
95597152
...
@@ -62,4 +62,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,4 +62,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
SSet
(
tp
,
c
)
end
end
end
end
\ No newline at end of file
c62995268.lua
View file @
95597152
...
@@ -56,4 +56,4 @@ end
...
@@ -56,4 +56,4 @@ end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
end
end
\ No newline at end of file
c63017368.lua
View file @
95597152
...
@@ -89,4 +89,4 @@ function s.repop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,4 +89,4 @@ function s.repop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
eftg
(
e
,
c
)
function
s
.
eftg
(
e
,
c
)
return
c
:
IsSetCard
(
0x1ae
)
return
c
:
IsSetCard
(
0x1ae
)
end
end
\ No newline at end of file
c63295720.lua
View file @
95597152
...
@@ -96,4 +96,4 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -96,4 +96,4 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
end
end
\ No newline at end of file
c63378869.lua
View file @
95597152
...
@@ -108,4 +108,4 @@ function s.desop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -108,4 +108,4 @@ function s.desop2(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
GetFlagEffectLabel
(
id
)
==
fid
then
if
tc
:
GetFlagEffectLabel
(
id
)
==
fid
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c63825486.lua
View file @
95597152
...
@@ -100,4 +100,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,4 +100,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c63947968.lua
View file @
95597152
...
@@ -70,4 +70,4 @@ end
...
@@ -70,4 +70,4 @@ end
function
s
.
indtg
(
e
,
c
)
function
s
.
indtg
(
e
,
c
)
local
tc
=
e
:
GetHandler
()
local
tc
=
e
:
GetHandler
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
end
end
\ No newline at end of file
c73490417.lua
View file @
95597152
...
@@ -91,4 +91,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,4 +91,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c74139959.lua
View file @
95597152
...
@@ -111,4 +111,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -111,4 +111,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c74169516.lua
View file @
95597152
...
@@ -91,4 +91,4 @@ function s.efilter(e,ct)
...
@@ -91,4 +91,4 @@ function s.efilter(e,ct)
local
p
=
e
:
GetHandlerPlayer
()
local
p
=
e
:
GetHandlerPlayer
()
local
te
,
tp
=
Duel
.
GetChainInfo
(
ct
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
local
te
,
tp
=
Duel
.
GetChainInfo
(
ct
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
return
p
==
tp
and
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
te
:
GetHandler
():
IsCode
(
37613663
)
return
p
==
tp
and
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
te
:
GetHandler
():
IsCode
(
37613663
)
end
end
\ No newline at end of file
c74213995.lua
View file @
95597152
...
@@ -84,4 +84,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,4 +84,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
end
end
end
end
end
end
\ No newline at end of file
c75352507.lua
View file @
95597152
...
@@ -86,4 +86,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,4 +86,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
return
not
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
end
end
\ No newline at end of file
c76078185.lua
View file @
95597152
...
@@ -70,4 +70,4 @@ end
...
@@ -70,4 +70,4 @@ end
function
s
.
indtg
(
e
,
c
)
function
s
.
indtg
(
e
,
c
)
local
tc
=
e
:
GetHandler
()
local
tc
=
e
:
GetHandler
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
end
end
\ No newline at end of file
c76290637.lua
View file @
95597152
...
@@ -102,4 +102,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -102,4 +102,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
end
\ No newline at end of file
c77313225.lua
View file @
95597152
...
@@ -58,4 +58,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,4 +58,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
atktg
(
e
,
c
)
function
s
.
atktg
(
e
,
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsRace
(
RACE_ILLUSION
+
RACE_SPELLCASTER
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsRace
(
RACE_ILLUSION
+
RACE_SPELLCASTER
)
end
end
\ No newline at end of file
c82135803.lua
View file @
95597152
...
@@ -96,4 +96,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -96,4 +96,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c83257450.lua
View file @
95597152
...
@@ -98,4 +98,4 @@ function s.damcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,4 +98,4 @@ function s.damcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
1000
)
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
1000
)
end
end
\ No newline at end of file
c84079032.lua
View file @
95597152
...
@@ -81,4 +81,4 @@ function s.posop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,4 +81,4 @@ function s.posop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_ATTACK
)
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_ATTACK
)
end
end
end
end
end
end
\ No newline at end of file
c84192580.lua
View file @
95597152
...
@@ -112,4 +112,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -112,4 +112,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local
d
=
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
)
-
(
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
0
,
LOCATION_ONFIELD
)
+
6
)
local
d
=
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
)
-
(
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
0
,
LOCATION_ONFIELD
)
+
6
)
local
sg
=
g
:
RandomSelect
(
e
:
GetOwnerPlayer
(),
d
)
local
sg
=
g
:
RandomSelect
(
e
:
GetOwnerPlayer
(),
d
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c85314178.lua
View file @
95597152
...
@@ -93,4 +93,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,4 +93,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
end
\ No newline at end of file
c8540986.lua
View file @
95597152
...
@@ -85,4 +85,4 @@ function s.desop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,4 +85,4 @@ function s.desop2(e,tp,eg,ep,ev,re,r,rp)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c885016.lua
View file @
95597152
...
@@ -63,4 +63,4 @@ function s.repval(e,c)
...
@@ -63,4 +63,4 @@ function s.repval(e,c)
end
end
function
s
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c96030710.lua
View file @
95597152
...
@@ -78,4 +78,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,4 +78,4 @@ function s.spop(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
)
end
end
\ No newline at end of file
c97045737.lua
View file @
95597152
...
@@ -50,4 +50,4 @@ function s.handcon(e)
...
@@ -50,4 +50,4 @@ function s.handcon(e)
end
end
function
s
.
aclimit
(
e
,
re
,
tp
)
function
s
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_DARK
+
ATTRIBUTE_FIRE
+
ATTRIBUTE_WATER
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_DARK
+
ATTRIBUTE_FIRE
+
ATTRIBUTE_WATER
)
end
end
\ No newline at end of file
c97223101.lua
View file @
95597152
...
@@ -84,4 +84,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,4 +84,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
end
end
\ No newline at end of file
c97262307.lua
View file @
95597152
...
@@ -64,4 +64,4 @@ function s.droperation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,4 +64,4 @@ function s.droperation(e,tp,eg,ep,ev,re,r,rp)
local
gc
=
g
:
GetClassCount
(
Card
.
GetRace
)
local
gc
=
g
:
GetClassCount
(
Card
.
GetRace
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Draw
(
tp
,
gc
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
gc
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c97345699.lua
View file @
95597152
...
@@ -87,4 +87,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
actlimit
(
e
,
re
,
tp
)
function
s
.
actlimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
\ No newline at end of file
c9763474.lua
View file @
95597152
...
@@ -61,4 +61,4 @@ function s.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,4 +61,4 @@ function s.acop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c98007437.lua
View file @
95597152
...
@@ -101,4 +101,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -101,4 +101,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c98167225.lua
View file @
95597152
...
@@ -96,4 +96,4 @@ function s.couop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -96,4 +96,4 @@ function s.couop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
end
\ No newline at end of file
c98385955.lua
View file @
95597152
...
@@ -76,4 +76,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,4 +76,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
\ No newline at end of file
c98828338.lua
View file @
95597152
...
@@ -113,4 +113,4 @@ function s.fsop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -113,4 +113,4 @@ function s.fsop(e,tp,eg,ep,ev,re,r,rp)
end
end
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
end
end
\ No newline at end of file
c99229085.lua
View file @
95597152
...
@@ -66,4 +66,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,4 +66,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
end
end
\ No newline at end of file
c99289828.lua
View file @
95597152
...
@@ -52,4 +52,4 @@ end
...
@@ -52,4 +52,4 @@ end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
end
end
\ No newline at end of file
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