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
ef7429d8
Commit
ef7429d8
authored
Aug 22, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
31f4c9a1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
c20457551.lua
c20457551.lua
+1
-1
c43266605.lua
c43266605.lua
+3
-1
c88234365.lua
c88234365.lua
+3
-1
c91646304.lua
c91646304.lua
+1
-1
No files found.
c20457551.lua
View file @
ef7429d8
...
@@ -65,7 +65,7 @@ function c20457551.atkval(e,c)
...
@@ -65,7 +65,7 @@ function c20457551.atkval(e,c)
return
e
:
GetHandler
():
GetEquipTarget
():
GetLevel
()
*-
100
return
e
:
GetHandler
():
GetEquipTarget
():
GetLevel
()
*-
100
end
end
function
c20457551
.
desreptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c20457551
.
desreptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
end
if
chk
==
0
then
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
end
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
then
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
then
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
return
true
return
true
...
...
c43266605.lua
View file @
ef7429d8
...
@@ -35,7 +35,9 @@ function c43266605.repfilter(c,tp)
...
@@ -35,7 +35,9 @@ function c43266605.repfilter(c,tp)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xc1
)
and
c
:
IsOnField
()
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xc1
)
and
c
:
IsOnField
()
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
end
end
function
c43266605
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c43266605
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
and
eg
:
IsExists
(
c43266605
.
repfilter
,
1
,
nil
,
tp
)
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsDiscardable
()
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
and
eg
:
IsExists
(
c43266605
.
repfilter
,
1
,
nil
,
tp
)
end
return
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
return
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
end
end
function
c43266605
.
repval
(
e
,
c
)
function
c43266605
.
repval
(
e
,
c
)
...
...
c88234365.lua
View file @
ef7429d8
...
@@ -28,7 +28,9 @@ function c88234365.repfilter(c,tp)
...
@@ -28,7 +28,9 @@ function c88234365.repfilter(c,tp)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xef
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xef
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
end
end
function
c88234365
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c88234365
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
and
eg
:
IsExists
(
c88234365
.
repfilter
,
1
,
nil
,
tp
)
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsDiscardable
()
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
and
eg
:
IsExists
(
c88234365
.
repfilter
,
1
,
nil
,
tp
)
end
return
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
return
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
end
end
function
c88234365
.
repval
(
e
,
c
)
function
c88234365
.
repval
(
e
,
c
)
...
...
c91646304.lua
View file @
ef7429d8
...
@@ -38,7 +38,7 @@ end
...
@@ -38,7 +38,7 @@ end
function
c91646304
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c91646304
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
eg
:
IsExists
(
c91646304
.
repfilter
,
1
,
c
,
tp
)
and
c
:
IsAbleToRemove
()
if
chk
==
0
then
return
eg
:
IsExists
(
c91646304
.
repfilter
,
1
,
c
,
tp
)
and
c
:
IsAbleToRemove
()
and
Duel
.
GetFlagEffect
(
tp
,
91646304
)
==
0
end
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
and
Duel
.
GetFlagEffect
(
tp
,
91646304
)
==
0
end
return
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
return
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
end
end
function
c91646304
.
repval
(
e
,
c
)
function
c91646304
.
repval
(
e
,
c
)
...
...
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