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
096092f6
Commit
096092f6
authored
Sep 19, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/ROTA' into master
parents
1147556c
2494a436
Changes
92
Hide whitespace changes
Inline
Side-by-side
Showing
92 changed files
with
96 additions
and
100 deletions
+96
-100
c10807219.lua
c10807219.lua
+1
-1
c11024707.lua
c11024707.lua
+1
-1
c14972952.lua
c14972952.lua
+1
-1
c15094540.lua
c15094540.lua
+1
-1
c15216188.lua
c15216188.lua
+1
-1
c16938770.lua
c16938770.lua
+1
-1
c16968936.lua
c16968936.lua
+1
-1
c17080584.lua
c17080584.lua
+1
-1
c20087414.lua
c20087414.lua
+1
-1
c20934683.lua
c20934683.lua
+1
-1
c21056275.lua
c21056275.lua
+1
-1
c23920796.lua
c23920796.lua
+1
-1
c27268998.lua
c27268998.lua
+1
-1
c27480536.lua
c27480536.lua
+1
-1
c28143384.lua
c28143384.lua
+1
-1
c28273805.lua
c28273805.lua
+1
-1
c28803166.lua
c28803166.lua
+1
-1
c29095457.lua
c29095457.lua
+1
-1
c29111045.lua
c29111045.lua
+1
-1
c29157292.lua
c29157292.lua
+1
-1
c29265962.lua
c29265962.lua
+1
-1
c29925614.lua
c29925614.lua
+1
-1
c3149401.lua
c3149401.lua
+1
-1
c32278723.lua
c32278723.lua
+1
-1
c32991300.lua
c32991300.lua
+1
-1
c33113958.lua
c33113958.lua
+1
-1
c34235530.lua
c34235530.lua
+1
-1
c35057188.lua
c35057188.lua
+1
-1
c3859859.lua
c3859859.lua
+1
-1
c40366667.lua
c40366667.lua
+1
-1
c41488249.lua
c41488249.lua
+1
-1
c42141493.lua
c42141493.lua
+1
-1
c42201897.lua
c42201897.lua
+1
-1
c43363035.lua
c43363035.lua
+1
-1
c46174776.lua
c46174776.lua
+1
-1
c46396218.lua
c46396218.lua
+1
-1
c47028805.lua
c47028805.lua
+1
-1
c50415441.lua
c50415441.lua
+1
-1
c53085623.lua
c53085623.lua
+1
-1
c53545926.lua
c53545926.lua
+1
-1
c53753697.lua
c53753697.lua
+1
-1
c54207171.lua
c54207171.lua
+1
-1
c54261514.lua
c54261514.lua
+1
-1
c54475145.lua
c54475145.lua
+1
-1
c55320758.lua
c55320758.lua
+1
-1
c55359571.lua
c55359571.lua
+1
-1
c55484152.lua
c55484152.lua
+1
-1
c55697723.lua
c55697723.lua
+1
-1
c56146300.lua
c56146300.lua
+1
-1
c56506740.lua
c56506740.lua
+1
-1
c59293853.lua
c59293853.lua
+5
-9
c60517697.lua
c60517697.lua
+1
-1
c66328392.lua
c66328392.lua
+1
-1
c66472129.lua
c66472129.lua
+1
-1
c67441879.lua
c67441879.lua
+1
-1
c67694706.lua
c67694706.lua
+1
-1
c68663427.lua
c68663427.lua
+1
-1
c6906306.lua
c6906306.lua
+1
-1
c69385019.lua
c69385019.lua
+1
-1
c70634245.lua
c70634245.lua
+1
-1
c71456737.lua
c71456737.lua
+1
-1
c72578374.lua
c72578374.lua
+1
-1
c73391962.lua
c73391962.lua
+1
-1
c73413514.lua
c73413514.lua
+1
-1
c7628844.lua
c7628844.lua
+1
-1
c77573354.lua
c77573354.lua
+1
-1
c77751766.lua
c77751766.lua
+1
-1
c80534031.lua
c80534031.lua
+1
-1
c80570228.lua
c80570228.lua
+1
-1
c80870883.lua
c80870883.lua
+1
-1
c81096431.lua
c81096431.lua
+1
-1
c81418467.lua
c81418467.lua
+1
-1
c81522098.lua
c81522098.lua
+1
-1
c81696879.lua
c81696879.lua
+1
-1
c81756619.lua
c81756619.lua
+1
-1
c81878201.lua
c81878201.lua
+1
-1
c84635192.lua
c84635192.lua
+1
-1
c86809440.lua
c86809440.lua
+1
-1
c8841431.lua
c8841431.lua
+1
-1
c88695895.lua
c88695895.lua
+1
-1
c89357740.lua
c89357740.lua
+1
-1
c8963089.lua
c8963089.lua
+1
-1
c89812483.lua
c89812483.lua
+1
-1
c92501449.lua
c92501449.lua
+1
-1
c92530005.lua
c92530005.lua
+1
-1
c92744676.lua
c92744676.lua
+1
-1
c93683815.lua
c93683815.lua
+1
-1
c93860227.lua
c93860227.lua
+1
-1
c94661166.lua
c94661166.lua
+1
-1
c94845588.lua
c94845588.lua
+1
-1
c95784714.lua
c95784714.lua
+1
-1
c9785661.lua
c9785661.lua
+1
-1
No files found.
c10807219.lua
View file @
096092f6
...
@@ -77,4 +77,4 @@ function s.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,4 +77,4 @@ function s.acop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
end
\ No newline at end of file
c11024707.lua
View file @
096092f6
...
@@ -73,4 +73,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,4 +73,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
flipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
flipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
end
\ No newline at end of file
c14972952.lua
View file @
096092f6
...
@@ -72,4 +72,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,4 +72,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
end
\ No newline at end of file
c15094540.lua
View file @
096092f6
...
@@ -98,4 +98,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,4 +98,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
g
:
Sub
(
sg
)
g
:
Sub
(
sg
)
Duel
.
SendtoGrave
(
g
,
REASON_RULE
)
Duel
.
SendtoGrave
(
g
,
REASON_RULE
)
end
end
end
end
\ No newline at end of file
c15216188.lua
View file @
096092f6
...
@@ -57,4 +57,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,4 +57,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
end
\ No newline at end of file
c16938770.lua
View file @
096092f6
...
@@ -89,4 +89,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,4 +89,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
end
end
\ No newline at end of file
c16968936.lua
View file @
096092f6
...
@@ -81,4 +81,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,4 +81,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
rc
:
RegisterEffect
(
e2
,
true
)
rc
:
RegisterEffect
(
e2
,
true
)
end
end
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
id
,
3
))
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
id
,
3
))
end
end
\ No newline at end of file
c17080584.lua
View file @
096092f6
...
@@ -92,4 +92,4 @@ end
...
@@ -92,4 +92,4 @@ end
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
drop
(
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
.
Draw
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c20087414.lua
View file @
096092f6
...
@@ -64,4 +64,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,4 +64,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c20934683.lua
View file @
096092f6
...
@@ -83,4 +83,4 @@ end
...
@@ -83,4 +83,4 @@ end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
if
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
\ No newline at end of file
c21056275.lua
View file @
096092f6
...
@@ -87,4 +87,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,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
c23920796.lua
View file @
096092f6
...
@@ -72,4 +72,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,4 +72,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
>
0
then
Duel
.
ConfirmCards
(
tp
,
c
)
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
>
0
then
Duel
.
ConfirmCards
(
tp
,
c
)
end
end
end
end
end
\ No newline at end of file
c27268998.lua
View file @
096092f6
...
@@ -77,4 +77,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,4 +77,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c27480536.lua
View file @
096092f6
...
@@ -98,4 +98,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,4 +98,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
c28143384.lua
View file @
096092f6
...
@@ -71,4 +71,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,4 +71,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
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
c28273805.lua
View file @
096092f6
...
@@ -105,4 +105,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -105,4 +105,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
end
end
\ No newline at end of file
c28803166.lua
View file @
096092f6
...
@@ -68,4 +68,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,4 +68,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
then
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
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
c29095457.lua
View file @
096092f6
...
@@ -96,4 +96,4 @@ end
...
@@ -96,4 +96,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
)
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SSet
(
tp
,
c
)
end
end
end
\ No newline at end of file
c29111045.lua
View file @
096092f6
...
@@ -103,4 +103,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -103,4 +103,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
c29157292.lua
View file @
096092f6
...
@@ -75,4 +75,4 @@ function s.raceop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,4 +75,4 @@ function s.raceop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c29265962.lua
View file @
096092f6
...
@@ -94,4 +94,4 @@ function s.chkcon(e)
...
@@ -94,4 +94,4 @@ function s.chkcon(e)
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
c29925614.lua
View file @
096092f6
...
@@ -109,4 +109,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -109,4 +109,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
:
GetOwner
()
return
c
==
e
:
GetOwner
()
end
end
\ No newline at end of file
c3149401.lua
View file @
096092f6
...
@@ -63,4 +63,4 @@ end
...
@@ -63,4 +63,4 @@ end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c32278723.lua
View file @
096092f6
...
@@ -82,4 +82,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,4 +82,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
1000
)
e1
:
SetValue
(
1000
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c32991300.lua
View file @
096092f6
...
@@ -75,4 +75,4 @@ function s.value(e,c)
...
@@ -75,4 +75,4 @@ function s.value(e,c)
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
local
g
=
tc
:
GetEquipGroup
()
local
g
=
tc
:
GetEquipGroup
()
return
g
:
GetSum
(
Card
.
GetLink
)
*
600
return
g
:
GetSum
(
Card
.
GetLink
)
*
600
end
end
\ No newline at end of file
c33113958.lua
View file @
096092f6
...
@@ -104,4 +104,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -104,4 +104,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RaiseSingleEvent
(
oc
,
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseSingleEvent
(
oc
,
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
oc
,
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
oc
,
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
end
end
end
end
\ No newline at end of file
c34235530.lua
View file @
096092f6
...
@@ -91,4 +91,4 @@ function s.desrepop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,4 +91,4 @@ function s.desrepop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
end
end
\ No newline at end of file
c35057188.lua
View file @
096092f6
...
@@ -65,4 +65,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,4 +65,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
c3859859.lua
View file @
096092f6
...
@@ -89,4 +89,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,4 +89,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
c40366667.lua
View file @
096092f6
...
@@ -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_LIGHT
+
ATTRIBUTE_EARTH
+
ATTRIBUTE_WIND
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_LIGHT
+
ATTRIBUTE_EARTH
+
ATTRIBUTE_WIND
)
end
end
\ No newline at end of file
c41488249.lua
View file @
096092f6
...
@@ -87,4 +87,4 @@ function s.gcop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.gcop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
GetControl
(
g
:
GetFirst
(),
tp
,
PHASE_END
,
1
)
Duel
.
GetControl
(
g
:
GetFirst
(),
tp
,
PHASE_END
,
1
)
end
end
end
end
end
end
\ No newline at end of file
c42141493.lua
View file @
096092f6
...
@@ -107,4 +107,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -107,4 +107,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
c42201897.lua
View file @
096092f6
...
@@ -85,4 +85,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,4 +85,4 @@ function s.setop(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
c43363035.lua
View file @
096092f6
...
@@ -75,4 +75,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,4 +75,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c46174776.lua
View file @
096092f6
...
@@ -67,4 +67,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,4 +67,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
tg
:
GetCount
()
>
0
then
if
tg
:
GetCount
()
>
0
then
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c46396218.lua
View file @
096092f6
...
@@ -76,4 +76,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,4 +76,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
c47028805.lua
View file @
096092f6
...
@@ -52,4 +52,4 @@ end
...
@@ -52,4 +52,4 @@ end
function
s
.
atkval
(
e
,
c
)
function
s
.
atkval
(
e
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
,
nil
)
return
g
:
GetSum
(
Card
.
GetLink
)
*
400
return
g
:
GetSum
(
Card
.
GetLink
)
*
400
end
end
\ No newline at end of file
c50415441.lua
View file @
096092f6
...
@@ -87,4 +87,4 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP
)
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP
)
Duel
.
ChangePosition
(
tc
,
pos
)
Duel
.
ChangePosition
(
tc
,
pos
)
end
end
end
end
\ No newline at end of file
c53085623.lua
View file @
096092f6
...
@@ -81,4 +81,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,4 +81,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
splimit
(
e
,
c
)
function
s
.
splimit
(
e
,
c
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
\ No newline at end of file
c53545926.lua
View file @
096092f6
...
@@ -130,4 +130,4 @@ function s.tkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -130,4 +130,4 @@ function s.tkop(e,tp,eg,ep,ev,re,r,rp)
until
count
==
0
until
count
==
0
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
end
end
\ No newline at end of file
c53753697.lua
View file @
096092f6
...
@@ -74,4 +74,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,4 +74,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
SSet
(
tp
,
tc
)
end
end
end
end
\ No newline at end of file
c54207171.lua
View file @
096092f6
...
@@ -94,4 +94,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -94,4 +94,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
c54261514.lua
View file @
096092f6
...
@@ -33,4 +33,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,4 +33,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c54475145.lua
View file @
096092f6
...
@@ -107,4 +107,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -107,4 +107,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
and
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
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
c55320758.lua
View file @
096092f6
...
@@ -87,4 +87,4 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CancelToGrave
()
tc
:
CancelToGrave
()
Duel
.
Overlay
(
g
:
GetFirst
(),
Group
.
FromCards
(
tc
))
Duel
.
Overlay
(
g
:
GetFirst
(),
Group
.
FromCards
(
tc
))
end
end
end
end
\ No newline at end of file
c55359571.lua
View file @
096092f6
...
@@ -63,4 +63,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,4 +63,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
splimit
(
e
,
c
)
function
s
.
splimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
return
not
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
\ No newline at end of file
c55484152.lua
View file @
096092f6
...
@@ -87,4 +87,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c55697723.lua
View file @
096092f6
...
@@ -89,4 +89,4 @@ function s.xyzlv(e,c,rc)
...
@@ -89,4 +89,4 @@ function s.xyzlv(e,c,rc)
else
else
return
c
:
GetLevel
()
return
c
:
GetLevel
()
end
end
end
end
\ No newline at end of file
c56146300.lua
View file @
096092f6
...
@@ -90,4 +90,4 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -90,4 +90,4 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
-
1
)
e1
:
SetValue
(
-
1
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c56506740.lua
View file @
096092f6
...
@@ -106,4 +106,4 @@ end
...
@@ -106,4 +106,4 @@ end
function
s
.
aclimit
(
e
,
re
,
tp
)
function
s
.
aclimit
(
e
,
re
,
tp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
rc
:
IsLocation
(
LOCATION_MZONE
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
rc
:
IsLocation
(
LOCATION_MZONE
)
end
end
\ No newline at end of file
c59293853.lua
View file @
096092f6
...
@@ -61,19 +61,15 @@ function s.thfilter(c)
...
@@ -61,19 +61,15 @@ function s.thfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1b7
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1b7
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
Is
Location
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
thfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
Is
OnField
(
)
and
chkc
:
IsControler
(
tp
)
and
s
.
thfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
thfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
thfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
thfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
99
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
ct
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
#
g
,
0
,
0
)
end
end
function
s
.
hfilter
(
c
,
e
)
return
c
:
IsRelateToEffect
(
e
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
ChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
s
.
hfilter
,
nil
,
e
)
local
g
=
Duel
.
Get
TargetsRelateToChain
(
)
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c60517697.lua
View file @
096092f6
...
@@ -87,4 +87,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
2
then
if
g
:
GetCount
()
>
2
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
c66328392.lua
View file @
096092f6
...
@@ -106,4 +106,4 @@ end
...
@@ -106,4 +106,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
)
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SSet
(
tp
,
c
)
end
end
end
\ No newline at end of file
c66472129.lua
View file @
096092f6
...
@@ -83,4 +83,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,4 +83,4 @@ function s.spop(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_FIEND
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
return
not
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
\ No newline at end of file
c67441879.lua
View file @
096092f6
...
@@ -91,4 +91,4 @@ function s.tnop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,4 +91,4 @@ function s.tnop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
tunerval
(
e
,
sc
)
function
s
.
tunerval
(
e
,
sc
)
return
sc
:
IsControler
(
e
:
GetHandlerPlayer
())
return
sc
:
IsControler
(
e
:
GetHandlerPlayer
())
end
end
\ No newline at end of file
c67694706.lua
View file @
096092f6
...
@@ -101,4 +101,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -101,4 +101,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp)
local
msg
=
mg
:
SelectSubGroup
(
tp
,
s
.
exgselect
,
false
,
1
,
#
mg
,
sc
,
c
)
local
msg
=
mg
:
SelectSubGroup
(
tp
,
s
.
exgselect
,
false
,
1
,
#
mg
,
sc
,
c
)
Duel
.
XyzSummon
(
tp
,
sc
,
msg
,
#
msg
,
#
msg
)
Duel
.
XyzSummon
(
tp
,
sc
,
msg
,
#
msg
,
#
msg
)
end
end
end
end
\ No newline at end of file
c68663427.lua
View file @
096092f6
...
@@ -119,4 +119,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -119,4 +119,4 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
tg
)
Duel
.
HintSelection
(
tg
)
Duel
.
Equip
(
tp
,
ec
,
tg
:
GetFirst
())
Duel
.
Equip
(
tp
,
ec
,
tg
:
GetFirst
())
end
end
end
end
\ No newline at end of file
c6906306.lua
View file @
096092f6
...
@@ -99,4 +99,4 @@ function s.dreptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -99,4 +99,4 @@ function s.dreptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
drepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
drepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c69385019.lua
View file @
096092f6
...
@@ -99,4 +99,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -99,4 +99,4 @@ function s.thop2(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
c70634245.lua
View file @
096092f6
...
@@ -96,4 +96,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -96,4 +96,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
c71456737.lua
View file @
096092f6
...
@@ -98,4 +98,4 @@ function s.damop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,4 +98,4 @@ function s.damop(e,tp,eg,ep,ev,re,r,rp)
local
dam
=
Duel
.
GetMatchingGroupCount
(
s
.
damfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
*
100
local
dam
=
Duel
.
GetMatchingGroupCount
(
s
.
damfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
*
100
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
Duel
.
Damage
(
p
,
dam
,
REASON_EFFECT
)
Duel
.
Damage
(
p
,
dam
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c72578374.lua
View file @
096092f6
...
@@ -70,4 +70,4 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,4 +70,4 @@ function s.lvop(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
c73391962.lua
View file @
096092f6
...
@@ -87,4 +87,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.thop2(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
c73413514.lua
View file @
096092f6
...
@@ -98,4 +98,4 @@ function s.regcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,4 +98,4 @@ function s.regcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
regop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
regop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetLabelObject
():
SetLabel
(
ev
)
e
:
GetLabelObject
():
SetLabel
(
ev
)
end
end
\ No newline at end of file
c7628844.lua
View file @
096092f6
...
@@ -76,4 +76,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,4 +76,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
e4
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
end
end
end
end
\ No newline at end of file
c77573354.lua
View file @
096092f6
...
@@ -74,4 +74,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,4 +74,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SSet
(
tp
,
c
)
Duel
.
SSet
(
tp
,
c
)
end
end
end
end
end
end
\ No newline at end of file
c77751766.lua
View file @
096092f6
...
@@ -66,4 +66,4 @@ function s.cop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,4 +66,4 @@ function s.cop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
end
\ No newline at end of file
c80534031.lua
View file @
096092f6
...
@@ -75,4 +75,4 @@ function s.attop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,4 +75,4 @@ function s.attop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
valcon
(
e
,
re
,
r
,
rp
)
function
s
.
valcon
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
end
end
\ No newline at end of file
c80570228.lua
View file @
096092f6
...
@@ -81,4 +81,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,4 +81,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
rc
:
RegisterEffect
(
e2
,
true
)
rc
:
RegisterEffect
(
e2
,
true
)
end
end
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
id
,
3
))
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
id
,
3
))
end
end
\ No newline at end of file
c80870883.lua
View file @
096092f6
...
@@ -81,4 +81,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,4 +81,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
Damage
(
1
-
tp
,
tc
:
GetBaseAttack
(),
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
tc
:
GetBaseAttack
(),
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c81096431.lua
View file @
096092f6
...
@@ -201,4 +201,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -201,4 +201,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CancelToGrave
()
tc
:
CancelToGrave
()
Duel
.
Overlay
(
c
,
Group
.
FromCards
(
tc
))
Duel
.
Overlay
(
c
,
Group
.
FromCards
(
tc
))
end
end
end
end
\ No newline at end of file
c81418467.lua
View file @
096092f6
...
@@ -113,4 +113,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -113,4 +113,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
rmfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
rmfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c81522098.lua
View file @
096092f6
...
@@ -81,4 +81,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,4 +81,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
c81696879.lua
View file @
096092f6
...
@@ -81,4 +81,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,4 +81,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
c81756619.lua
View file @
096092f6
...
@@ -78,4 +78,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,4 +78,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c81878201.lua
View file @
096092f6
...
@@ -84,4 +84,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,4 +84,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
c84635192.lua
View file @
096092f6
...
@@ -39,4 +39,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,4 +39,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c86809440.lua
View file @
096092f6
...
@@ -99,4 +99,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -99,4 +99,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
\ No newline at end of file
c8841431.lua
View file @
096092f6
...
@@ -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)
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
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
c88695895.lua
View file @
096092f6
...
@@ -80,4 +80,4 @@ function s.atkop(e,tp,ep,ev,re,r,rp)
...
@@ -80,4 +80,4 @@ function s.atkop(e,tp,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
)
d
:
RegisterEffect
(
e1
)
d
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c89357740.lua
View file @
096092f6
...
@@ -53,4 +53,4 @@ function s.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,4 +53,4 @@ function s.reop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
end
\ No newline at end of file
c8963089.lua
View file @
096092f6
...
@@ -82,4 +82,4 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -82,4 +82,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
.
NegateActivation
(
ev
)
Duel
.
NegateActivation
(
ev
)
end
end
\ No newline at end of file
c89812483.lua
View file @
096092f6
...
@@ -93,4 +93,4 @@ function s.tgval(e,re,rp)
...
@@ -93,4 +93,4 @@ function s.tgval(e,re,rp)
end
end
function
s
.
efilter
(
e
,
re
)
function
s
.
efilter
(
e
,
re
)
return
re
:
IsActiveType
(
TYPE_MONSTER
+
TYPE_SPELL
)
return
re
:
IsActiveType
(
TYPE_MONSTER
+
TYPE_SPELL
)
end
end
\ No newline at end of file
c92501449.lua
View file @
096092f6
...
@@ -92,4 +92,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,4 +92,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c92530005.lua
View file @
096092f6
...
@@ -161,4 +161,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -161,4 +161,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
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
c92744676.lua
View file @
096092f6
...
@@ -69,4 +69,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,4 +69,4 @@ function s.scop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SynchroSummon
(
tp
,
sg
:
GetFirst
(),
c
)
Duel
.
SynchroSummon
(
tp
,
sg
:
GetFirst
(),
c
)
end
end
end
end
\ No newline at end of file
c93683815.lua
View file @
096092f6
...
@@ -100,4 +100,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,4 +100,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
end
end
\ No newline at end of file
c93860227.lua
View file @
096092f6
...
@@ -99,4 +99,4 @@ function s.tsop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -99,4 +99,4 @@ function s.tsop(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
c94661166.lua
View file @
096092f6
...
@@ -62,4 +62,4 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,4 +62,4 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_ATTACK
)
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_ATTACK
)
end
end
end
end
\ No newline at end of file
c94845588.lua
View file @
096092f6
...
@@ -85,4 +85,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,4 +85,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsRelateToEffect
(
e
)
then
and
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
c95784714.lua
View file @
096092f6
...
@@ -89,4 +89,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,4 +89,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
end
end
\ No newline at end of file
c9785661.lua
View file @
096092f6
...
@@ -60,4 +60,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,4 +60,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
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