Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
550683da
Commit
550683da
authored
Apr 06, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d8d88840
Changes
58
Hide whitespace changes
Inline
Side-by-side
Showing
58 changed files
with
68 additions
and
68 deletions
+68
-68
c10060427.lua
c10060427.lua
+1
-1
c12435193.lua
c12435193.lua
+1
-1
c14309486.lua
c14309486.lua
+1
-1
c17874674.lua
c17874674.lua
+1
-1
c18634367.lua
c18634367.lua
+2
-2
c19642889.lua
c19642889.lua
+1
-1
c21598948.lua
c21598948.lua
+1
-1
c22359980.lua
c22359980.lua
+1
-1
c24874630.lua
c24874630.lua
+1
-1
c296499.lua
c296499.lua
+1
-1
c30936186.lua
c30936186.lua
+1
-1
c32314730.lua
c32314730.lua
+1
-1
c32687071.lua
c32687071.lua
+2
-2
c32907538.lua
c32907538.lua
+1
-1
c33300669.lua
c33300669.lua
+2
-2
c33900648.lua
c33900648.lua
+1
-1
c34522216.lua
c34522216.lua
+2
-2
c35798491.lua
c35798491.lua
+1
-1
c35975813.lua
c35975813.lua
+1
-1
c36995273.lua
c36995273.lua
+2
-2
c39037517.lua
c39037517.lua
+1
-1
c41201555.lua
c41201555.lua
+1
-1
c44656491.lua
c44656491.lua
+1
-1
c45041488.lua
c45041488.lua
+1
-1
c49680980.lua
c49680980.lua
+1
-1
c52248570.lua
c52248570.lua
+1
-1
c53039326.lua
c53039326.lua
+1
-1
c54520292.lua
c54520292.lua
+1
-1
c5817857.lua
c5817857.lua
+1
-1
c61370518.lua
c61370518.lua
+1
-1
c61650133.lua
c61650133.lua
+1
-1
c61740673.lua
c61740673.lua
+1
-1
c6283472.lua
c6283472.lua
+2
-2
c65026212.lua
c65026212.lua
+1
-1
c65475294.lua
c65475294.lua
+1
-1
c66816282.lua
c66816282.lua
+1
-1
c68809475.lua
c68809475.lua
+1
-1
c69072185.lua
c69072185.lua
+2
-2
c70917315.lua
c70917315.lua
+2
-2
c7180418.lua
c7180418.lua
+1
-1
c72192100.lua
c72192100.lua
+1
-1
c72258771.lua
c72258771.lua
+1
-1
c7305060.lua
c7305060.lua
+2
-2
c73219648.lua
c73219648.lua
+1
-1
c74576482.lua
c74576482.lua
+1
-1
c79794767.lua
c79794767.lua
+2
-2
c79850798.lua
c79850798.lua
+1
-1
c80367387.lua
c80367387.lua
+1
-1
c80925836.lua
c80925836.lua
+1
-1
c82432018.lua
c82432018.lua
+1
-1
c85060248.lua
c85060248.lua
+1
-1
c8581705.lua
c8581705.lua
+1
-1
c92394653.lua
c92394653.lua
+1
-1
c94804055.lua
c94804055.lua
+1
-1
c95090813.lua
c95090813.lua
+1
-1
c9603356.lua
c9603356.lua
+1
-1
c99173029.lua
c99173029.lua
+1
-1
constant.lua
constant.lua
+1
-1
No files found.
c10060427.lua
View file @
550683da
...
@@ -67,7 +67,7 @@ function c10060427.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function c10060427.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c10060427
.
otfilter
(
c
,
tp
)
function
c10060427
.
otfilter
(
c
,
tp
)
...
...
c12435193.lua
View file @
550683da
...
@@ -52,7 +52,7 @@ function c12435193.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c12435193.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c12435193
.
disspsum
(
e
,
c
)
function
c12435193
.
disspsum
(
e
,
c
)
...
...
c14309486.lua
View file @
550683da
...
@@ -61,7 +61,7 @@ function c14309486.mtop(e,tp)
...
@@ -61,7 +61,7 @@ function c14309486.mtop(e,tp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c14309486
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14309486
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c17874674.lua
View file @
550683da
...
@@ -100,6 +100,6 @@ function c17874674.costop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,6 +100,6 @@ function c17874674.costop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
500
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
17874674
,
1
))
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
17874674
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c18634367.lua
View file @
550683da
...
@@ -63,10 +63,10 @@ function c18634367.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,10 +63,10 @@ function c18634367.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c18634367
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18634367
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLP
(
tp
)
>=
1000
then
if
Duel
.
CheckLPCost
(
tp
,
1000
)
then
Duel
.
PayLPCost
(
tp
,
1000
)
Duel
.
PayLPCost
(
tp
,
1000
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c18634367
.
cfilter
(
c
)
function
c18634367
.
cfilter
(
c
)
...
...
c19642889.lua
View file @
550683da
...
@@ -54,7 +54,7 @@ function c19642889.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c19642889.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c19642889
.
negop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19642889
.
negop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c21598948.lua
View file @
550683da
...
@@ -71,6 +71,6 @@ function c21598948.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,6 +71,6 @@ function c21598948.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
21598948
,
1
))
then
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
21598948
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c22359980.lua
View file @
550683da
...
@@ -71,6 +71,6 @@ function c22359980.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,6 +71,6 @@ function c22359980.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
2000
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
22359980
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
2000
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
22359980
,
0
))
then
Duel
.
PayLPCost
(
tp
,
2000
)
Duel
.
PayLPCost
(
tp
,
2000
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c24874630.lua
View file @
550683da
...
@@ -51,6 +51,6 @@ function c24874630.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,6 +51,6 @@ function c24874630.desop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
1000
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
24874630
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
1000
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
24874630
,
0
))
then
Duel
.
PayLPCost
(
tp
,
1000
)
Duel
.
PayLPCost
(
tp
,
1000
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c296499.lua
View file @
550683da
...
@@ -44,6 +44,6 @@ function c296499.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,6 +44,6 @@ function c296499.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasable
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasable
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c30936186.lua
View file @
550683da
...
@@ -54,7 +54,7 @@ function c30936186.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c30936186.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c30936186
.
cfilter
(
c
)
function
c30936186
.
cfilter
(
c
)
...
...
c32314730.lua
View file @
550683da
...
@@ -54,7 +54,7 @@ function c32314730.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c32314730.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c32314730
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32314730
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c32687071.lua
View file @
550683da
...
@@ -38,8 +38,8 @@ function c32687071.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,8 +38,8 @@ function c32687071.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
32687071
,
0
))
then
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
32687071
,
0
))
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_
RULE
)
Duel
.
Release
(
g
,
REASON_
COST
)
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
else
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
function
c32687071
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c32687071
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
...
...
c32907538.lua
View file @
550683da
...
@@ -58,6 +58,6 @@ function c32907538.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,6 +58,6 @@ function c32907538.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
32907538
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
32907538
,
0
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c33300669.lua
View file @
550683da
...
@@ -54,8 +54,8 @@ function c33300669.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,8 +54,8 @@ function c33300669.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33300669
,
0
))
then
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33300669
,
0
))
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_
RULE
)
Duel
.
Release
(
g
,
REASON_
COST
)
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
else
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
function
c33300669
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c33300669
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
...
...
c33900648.lua
View file @
550683da
...
@@ -104,7 +104,7 @@ function c33900648.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -104,7 +104,7 @@ function c33900648.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33900648
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33900648
,
0
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c33900648
[
0
]
=
0
c33900648
[
0
]
=
0
...
...
c34522216.lua
View file @
550683da
...
@@ -60,8 +60,8 @@ function c34522216.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,8 +60,8 @@ function c34522216.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
34522216
,
0
))
then
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
34522216
,
0
))
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_
RULE
)
Duel
.
Release
(
g
,
REASON_
COST
)
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
else
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
function
c34522216
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c34522216
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
...
...
c35798491.lua
View file @
550683da
...
@@ -25,7 +25,7 @@ function c35798491.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -25,7 +25,7 @@ function c35798491.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c35798491
.
filter
(
c
,
tp
)
function
c35798491
.
filter
(
c
,
tp
)
...
...
c35975813.lua
View file @
550683da
...
@@ -47,7 +47,7 @@ function c35975813.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c35975813.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
800
)
then
if
Duel
.
CheckLPCost
(
tp
,
800
)
then
Duel
.
PayLPCost
(
tp
,
800
)
Duel
.
PayLPCost
(
tp
,
800
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c35975813
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35975813
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c36995273.lua
View file @
550683da
...
@@ -33,9 +33,9 @@ function c36995273.costcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,9 +33,9 @@ function c36995273.costcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c36995273
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c36995273
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLP
(
tp
)
>=
500
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
\ No newline at end of file
c39037517.lua
View file @
550683da
...
@@ -53,7 +53,7 @@ function c39037517.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c39037517.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c39037517
.
filter
(
c
,
e
)
function
c39037517
.
filter
(
c
,
e
)
...
...
c41201555.lua
View file @
550683da
...
@@ -55,7 +55,7 @@ function c41201555.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c41201555.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c41201555
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c41201555
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c44656491.lua
View file @
550683da
...
@@ -34,6 +34,6 @@ function c44656491.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,6 +34,6 @@ function c44656491.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
100
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
44656491
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
100
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
44656491
,
0
))
then
Duel
.
PayLPCost
(
tp
,
100
)
Duel
.
PayLPCost
(
tp
,
100
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c45041488.lua
View file @
550683da
...
@@ -57,7 +57,7 @@ function c45041488.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c45041488.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c45041488
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c45041488
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c49680980.lua
View file @
550683da
...
@@ -57,7 +57,7 @@ function c49680980.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c49680980.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c49680980
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c49680980
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c52248570.lua
View file @
550683da
...
@@ -30,7 +30,7 @@ function c52248570.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c52248570.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
1000
)
then
if
Duel
.
CheckLPCost
(
tp
,
1000
)
then
Duel
.
PayLPCost
(
tp
,
1000
)
Duel
.
PayLPCost
(
tp
,
1000
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c52248570
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52248570
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c53039326.lua
View file @
550683da
...
@@ -53,7 +53,7 @@ function c53039326.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c53039326.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c53039326
.
check
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c53039326
.
check
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c54520292.lua
View file @
550683da
...
@@ -54,7 +54,7 @@ function c54520292.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c54520292.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c54520292
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c54520292
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c5817857.lua
View file @
550683da
...
@@ -52,7 +52,7 @@ function c5817857.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c5817857.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c5817857
.
rfilter
(
c
)
function
c5817857
.
rfilter
(
c
)
...
...
c61370518.lua
View file @
550683da
...
@@ -25,7 +25,7 @@ function c61370518.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -25,7 +25,7 @@ function c61370518.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c61370518
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61370518
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c61650133.lua
View file @
550683da
...
@@ -33,7 +33,7 @@ function c61650133.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,7 @@ function c61650133.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
61650133
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
61650133
,
0
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c61650133
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c61650133
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c61740673.lua
View file @
550683da
...
@@ -47,6 +47,6 @@ function c61740673.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,6 +47,6 @@ function c61740673.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
700
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
61740673
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
700
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
61740673
,
0
))
then
Duel
.
PayLPCost
(
tp
,
700
)
Duel
.
PayLPCost
(
tp
,
700
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c6283472.lua
View file @
550683da
...
@@ -53,8 +53,8 @@ function c6283472.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,8 +53,8 @@ function c6283472.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
6283472
,
0
))
then
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
6283472
,
0
))
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_
RULE
)
Duel
.
Release
(
g
,
REASON_
COST
)
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
else
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
function
c6283472
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c6283472
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
...
...
c65026212.lua
View file @
550683da
...
@@ -63,7 +63,7 @@ function c65026212.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c65026212.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
g2
:
Select
(
tp
,
1
,
1
,
nil
)
local
g
=
g2
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c65026212
.
spfilter
(
c
)
function
c65026212
.
spfilter
(
c
)
...
...
c65475294.lua
View file @
550683da
...
@@ -20,6 +20,6 @@ function c65475294.costop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -20,6 +20,6 @@ function c65475294.costop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
else
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
end
c66816282.lua
View file @
550683da
...
@@ -57,7 +57,7 @@ function c66816282.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c66816282.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c66816282
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c66816282
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c68809475.lua
View file @
550683da
...
@@ -55,7 +55,7 @@ function c68809475.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c68809475.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c68809475
.
filter
(
c
)
function
c68809475
.
filter
(
c
)
...
...
c69072185.lua
View file @
550683da
...
@@ -41,8 +41,8 @@ function c69072185.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,8 +41,8 @@ function c69072185.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
69072185
,
0
))
then
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
69072185
,
0
))
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_
RULE
)
Duel
.
Release
(
g
,
REASON_
COST
)
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
else
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
function
c69072185
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c69072185
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
...
...
c70917315.lua
View file @
550683da
...
@@ -60,8 +60,8 @@ function c70917315.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,8 +60,8 @@ function c70917315.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
70917315
,
0
))
then
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
70917315
,
0
))
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_
RULE
)
Duel
.
Release
(
g
,
REASON_
COST
)
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
else
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
function
c70917315
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c70917315
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
...
...
c7180418.lua
View file @
550683da
...
@@ -33,6 +33,6 @@ function c7180418.ccost(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,6 +33,6 @@ function c7180418.ccost(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3001
,
1
,
REASON_COST
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
7180418
,
0
))
then
if
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3001
,
1
,
REASON_COST
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
7180418
,
0
))
then
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3001
,
1
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3001
,
1
,
REASON_COST
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c72192100.lua
View file @
550683da
...
@@ -37,7 +37,7 @@ function c72192100.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,7 +37,7 @@ function c72192100.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c72192100
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72192100
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c72258771.lua
View file @
550683da
...
@@ -53,7 +53,7 @@ function c72258771.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c72258771.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c72258771
.
otfilter
(
c
,
tp
)
function
c72258771
.
otfilter
(
c
,
tp
)
...
...
c7305060.lua
View file @
550683da
...
@@ -50,8 +50,8 @@ function c7305060.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,8 +50,8 @@ function c7305060.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
7305060
,
0
))
then
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
7305060
,
0
))
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_
RULE
)
Duel
.
Release
(
g
,
REASON_
COST
)
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
else
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
function
c7305060
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c7305060
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
...
...
c73219648.lua
View file @
550683da
...
@@ -33,7 +33,7 @@ function c73219648.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,7 @@ function c73219648.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c73219648
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73219648
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c74576482.lua
View file @
550683da
...
@@ -55,7 +55,7 @@ function c74576482.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c74576482.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c74576482
.
tdcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c74576482
.
tdcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c79794767.lua
View file @
550683da
...
@@ -50,8 +50,8 @@ function c79794767.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,8 +50,8 @@ function c79794767.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
79794767
,
0
))
then
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
79794767
,
0
))
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasableByEffect
,
1
,
1
,
c
)
Duel
.
Release
(
g
,
REASON_
RULE
)
Duel
.
Release
(
g
,
REASON_
COST
)
else
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
else
Duel
.
Destroy
(
c
,
REASON_
COST
)
end
end
end
function
c79794767
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c79794767
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0xe0
)
...
...
c79850798.lua
View file @
550683da
...
@@ -81,6 +81,6 @@ function c79850798.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,6 +81,6 @@ function c79850798.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
79850798
,
1
))
then
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
79850798
,
1
))
then
Duel
.
SendtoGrave
(
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
),
REASON_COST
)
Duel
.
SendtoGrave
(
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
),
REASON_COST
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c80367387.lua
View file @
550683da
...
@@ -52,7 +52,7 @@ function c80367387.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c80367387.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c80367387
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80367387
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c80925836.lua
View file @
550683da
...
@@ -51,7 +51,7 @@ function c80925836.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c80925836.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c80925836
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80925836
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c82432018.lua
View file @
550683da
...
@@ -58,6 +58,6 @@ function c82432018.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,6 +58,6 @@ function c82432018.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
1000
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
82432018
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
1000
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
82432018
,
0
))
then
Duel
.
PayLPCost
(
tp
,
1000
)
Duel
.
PayLPCost
(
tp
,
1000
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c85060248.lua
View file @
550683da
...
@@ -29,6 +29,6 @@ function c85060248.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,6 +29,6 @@ function c85060248.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
85060248
,
0
))
then
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
85060248
,
0
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c8581705.lua
View file @
550683da
...
@@ -36,7 +36,7 @@ function c8581705.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +36,7 @@ function c8581705.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c8581705
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8581705
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c92394653.lua
View file @
550683da
...
@@ -55,6 +55,6 @@ function c92394653.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,6 +55,6 @@ function c92394653.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
92394653
,
1
))
then
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
92394653
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
\ No newline at end of file
c94804055.lua
View file @
550683da
...
@@ -82,6 +82,6 @@ function c94804055.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,6 +82,6 @@ function c94804055.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
94804055
,
2
))
then
if
Duel
.
GetLP
(
tp
)
>
500
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
94804055
,
2
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
c95090813.lua
View file @
550683da
...
@@ -54,7 +54,7 @@ function c95090813.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c95090813.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c95090813
.
filter
(
c
)
function
c95090813
.
filter
(
c
)
...
...
c9603356.lua
View file @
550683da
...
@@ -33,7 +33,7 @@ function c9603356.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,7 @@ function c9603356.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
CheckLPCost
(
tp
,
900
)
then
if
Duel
.
CheckLPCost
(
tp
,
900
)
then
Duel
.
PayLPCost
(
tp
,
900
)
Duel
.
PayLPCost
(
tp
,
900
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
function
c9603356
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9603356
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c99173029.lua
View file @
550683da
...
@@ -45,6 +45,6 @@ function c99173029.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,6 +45,6 @@ function c99173029.mtop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
99173029
,
0
))
then
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
99173029
,
0
))
then
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
RULE
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_
COST
)
end
end
end
end
constant.lua
View file @
550683da
...
@@ -307,7 +307,7 @@ EFFECT_SET_PROC =36 --放置(通常召唤)规则
...
@@ -307,7 +307,7 @@ EFFECT_SET_PROC =36 --放置(通常召唤)规则
EFFECT_LIMIT_SET_PROC
=
37
--放置(通常召唤)规则限制
EFFECT_LIMIT_SET_PROC
=
37
--放置(通常召唤)规则限制
EFFECT_DEVINE_LIGHT
=
38
--神圣光辉(魔术礼帽)
EFFECT_DEVINE_LIGHT
=
38
--神圣光辉(魔术礼帽)
EFFECT_CANNOT_DISABLE_FLIP_SUMMON
=
39
--翻转召唤不会无效
EFFECT_CANNOT_DISABLE_FLIP_SUMMON
=
39
--翻转召唤不会无效
EFFECT_INDESTRUCTABLE
=
40
--
N/A
EFFECT_INDESTRUCTABLE
=
40
--
不会被破坏
EFFECT_INDESTRUCTABLE_EFFECT
=
41
--不会被效果破坏
EFFECT_INDESTRUCTABLE_EFFECT
=
41
--不会被效果破坏
EFFECT_INDESTRUCTABLE_BATTLE
=
42
--不会被战斗破坏
EFFECT_INDESTRUCTABLE_BATTLE
=
42
--不会被战斗破坏
EFFECT_UNRELEASABLE_SUM
=
43
--不能做上级召唤的祭品
EFFECT_UNRELEASABLE_SUM
=
43
--不能做上级召唤的祭品
...
...
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