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
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
Vee4
ygopro-scripts-888
Commits
ef626d74
Commit
ef626d74
authored
Mar 13, 2021
by
Chrono-Genex
Committed by
GitHub
Mar 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for Pandemonium (#1588)
parent
2d674fe0
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
60 additions
and
30 deletions
+60
-30
c35606858.lua
c35606858.lua
+6
-2
c35798491.lua
c35798491.lua
+5
-2
c35975813.lua
c35975813.lua
+5
-2
c52248570.lua
c52248570.lua
+5
-2
c61370518.lua
c61370518.lua
+5
-2
c70780151.lua
c70780151.lua
+5
-2
c72192100.lua
c72192100.lua
+5
-2
c73219648.lua
c73219648.lua
+5
-2
c84341431.lua
c84341431.lua
+5
-2
c8581705.lua
c8581705.lua
+5
-2
c94585852.lua
c94585852.lua
+4
-8
c9603356.lua
c9603356.lua
+5
-2
No files found.
c35606858.lua
View file @
ef626d74
...
@@ -44,8 +44,12 @@ function c35606858.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,8 +44,12 @@ function c35606858.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c35606858
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35606858
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
500
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
35606858
,
2
))
then
if
(
Duel
.
CheckLPCost
(
tp
,
500
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
))
and
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
35606858
,
2
))
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
c35798491.lua
View file @
ef626d74
...
@@ -23,8 +23,11 @@ function c35798491.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -23,8 +23,11 @@ function c35798491.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c35798491
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35798491
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
c35975813.lua
View file @
ef626d74
...
@@ -45,8 +45,11 @@ function c35975813.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,8 +45,11 @@ function c35975813.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c35975813
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35975813
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
800
)
then
if
Duel
.
CheckLPCost
(
tp
,
800
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
800
)
Duel
.
PayLPCost
(
tp
,
800
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
c52248570.lua
View file @
ef626d74
...
@@ -27,8 +27,11 @@ function c52248570.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,8 +27,11 @@ function c52248570.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c52248570
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52248570
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
1000
)
then
if
Duel
.
CheckLPCost
(
tp
,
1000
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
1000
)
Duel
.
PayLPCost
(
tp
,
1000
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
c61370518.lua
View file @
ef626d74
...
@@ -23,8 +23,11 @@ function c61370518.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -23,8 +23,11 @@ function c61370518.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c61370518
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61370518
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
c70780151.lua
View file @
ef626d74
...
@@ -54,8 +54,11 @@ function c70780151.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,8 +54,11 @@ function c70780151.discon(e,tp,eg,ep,ev,re,r,rp)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c70780151
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c70780151
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
1000
)
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
1000
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
end
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
1000
)
Duel
.
PayLPCost
(
tp
,
1000
)
end
end
end
function
c70780151
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c70780151
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c72192100.lua
View file @
ef626d74
...
@@ -35,8 +35,11 @@ function c72192100.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,8 +35,11 @@ function c72192100.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c72192100
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72192100
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
c73219648.lua
View file @
ef626d74
...
@@ -31,8 +31,11 @@ function c73219648.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,8 +31,11 @@ function c73219648.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c73219648
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73219648
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
c84341431.lua
View file @
ef626d74
...
@@ -22,9 +22,12 @@ function c84341431.initial_effect(c)
...
@@ -22,9 +22,12 @@ function c84341431.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c84341431
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c84341431
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
not
e
:
GetHandler
():
IsReason
(
REASON_REPLACE
)
and
Duel
.
CheckLPCost
(
tp
,
500
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
not
e
:
GetHandler
():
IsReason
(
REASON_REPLACE
)
and
(
Duel
.
CheckLPCost
(
tp
,
500
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
)
end
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
then
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
return
true
return
true
else
return
false
end
else
return
false
end
end
end
...
...
c8581705.lua
View file @
ef626d74
...
@@ -34,8 +34,11 @@ function c8581705.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,8 +34,11 @@ function c8581705.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c8581705
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8581705
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
500
)
then
if
Duel
.
CheckLPCost
(
tp
,
500
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
c94585852.lua
View file @
ef626d74
...
@@ -8,11 +8,11 @@ function c94585852.initial_effect(c)
...
@@ -8,11 +8,11 @@ function c94585852.initial_effect(c)
--cost change
--cost change
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_LPCOST_CHANGE
)
e2
:
SetCode
(
94585852
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
Set
Value
(
c94585852
.
costchange
)
e2
:
Set
Condition
(
c94585852
.
costcon
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--search
--search
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
@@ -34,12 +34,8 @@ function c94585852.initial_effect(c)
...
@@ -34,12 +34,8 @@ function c94585852.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
end
end
function
c94585852
.
costchange
(
e
,
re
,
rp
,
val
)
function
c94585852
.
costcon
(
e
)
if
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
and
re
and
re
:
GetHandler
():
IsSetCard
(
0x45
)
and
re
:
GetHandler
():
IsType
(
TYPE_MONSTER
)
then
return
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
return
0
else
return
val
end
end
end
function
c94585852
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94585852
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lv1
=
0
local
lv1
=
0
...
...
c9603356.lua
View file @
ef626d74
...
@@ -29,8 +29,11 @@ function c9603356.mtcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,8 +29,11 @@ function c9603356.mtcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c9603356
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9603356
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tp
,
900
)
then
if
Duel
.
CheckLPCost
(
tp
,
900
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
94585852
)
or
not
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
94585852
,
1
))
then
Duel
.
PayLPCost
(
tp
,
900
)
Duel
.
PayLPCost
(
tp
,
900
)
end
else
else
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_COST
)
end
end
...
...
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