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
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
Commits
9f812e23
Commit
9f812e23
authored
Jun 08, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
07385bba
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
13 additions
and
13 deletions
+13
-13
c21598948.lua
c21598948.lua
+1
-1
c22359980.lua
c22359980.lua
+1
-1
c24874630.lua
c24874630.lua
+1
-1
c32907538.lua
c32907538.lua
+1
-1
c33900648.lua
c33900648.lua
+1
-1
c44656491.lua
c44656491.lua
+1
-1
c61650133.lua
c61650133.lua
+1
-1
c61740673.lua
c61740673.lua
+1
-1
c80604091.lua
c80604091.lua
+1
-1
c82432018.lua
c82432018.lua
+1
-1
c85060248.lua
c85060248.lua
+1
-1
c92394653.lua
c92394653.lua
+1
-1
c94804055.lua
c94804055.lua
+1
-1
No files found.
c21598948.lua
View file @
9f812e23
...
@@ -68,7 +68,7 @@ function c21598948.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,7 +68,7 @@ function c21598948.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c21598948
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c22359980.lua
View file @
9f812e23
...
@@ -68,7 +68,7 @@ function c22359980.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,7 +68,7 @@ function c22359980.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c22359980
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c24874630.lua
View file @
9f812e23
...
@@ -48,7 +48,7 @@ function c24874630.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c24874630.descon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c24874630
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c32907538.lua
View file @
9f812e23
...
@@ -55,7 +55,7 @@ function c32907538.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c32907538.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c32907538
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c33900648.lua
View file @
9f812e23
...
@@ -101,7 +101,7 @@ function c33900648.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -101,7 +101,7 @@ function c33900648.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c33900648
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c44656491.lua
View file @
9f812e23
...
@@ -31,7 +31,7 @@ function c44656491.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,7 +31,7 @@ function c44656491.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c44656491
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c61650133.lua
View file @
9f812e23
...
@@ -30,7 +30,7 @@ function c61650133.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c61650133.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c61650133
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c61740673.lua
View file @
9f812e23
...
@@ -44,7 +44,7 @@ function c61740673.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c61740673.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c61740673
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c80604091.lua
View file @
9f812e23
...
@@ -31,7 +31,7 @@ function c80604091.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,7 +31,7 @@ function c80604091.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
local
tn
=
Duel
.
GetTurnPlayer
()
local
tn
=
Duel
.
GetTurnPlayer
()
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
if
((
tn
==
tp
and
(
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
))
or
(
tn
~=
tp
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
))
if
((
tn
==
tp
and
(
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
))
or
(
tn
~=
tp
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
))
and
Duel
.
GetLP
(
tp
)
>=
500
and
Duel
.
CheckLPCost
(
tp
,
500
)
and
Duel
.
IsExistingMatchingCard
(
c80604091
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c80604091
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
80604091
,
1
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
80604091
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
...
...
c82432018.lua
View file @
9f812e23
...
@@ -55,7 +55,7 @@ function c82432018.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c82432018.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c82432018
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c85060248.lua
View file @
9f812e23
...
@@ -26,7 +26,7 @@ function c85060248.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -26,7 +26,7 @@ function c85060248.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c85060248
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c92394653.lua
View file @
9f812e23
...
@@ -52,7 +52,7 @@ function c92394653.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c92394653.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c92394653
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
c94804055.lua
View file @
9f812e23
...
@@ -79,7 +79,7 @@ function c94804055.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,7 +79,7 @@ function c94804055.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c94804055
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
.
CheckLPCost
(
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_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
...
...
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