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
e39775d2
Commit
e39775d2
authored
Aug 28, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
91f77edc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
7 deletions
+6
-7
c24221808.lua
c24221808.lua
+1
-2
c44046281.lua
c44046281.lua
+1
-1
c56562619.lua
c56562619.lua
+1
-1
c60080151.lua
c60080151.lua
+1
-1
c62437430.lua
c62437430.lua
+2
-2
No files found.
c24221808.lua
View file @
e39775d2
...
...
@@ -42,8 +42,7 @@ end
function
c24221808
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
if
c
:
IsRelateToEffect
(
e
)
then
local
sg
=
e
:
GetLabelObject
()
if
c
:
GetFlagEffect
(
24221808
)
==
0
then
...
...
c44046281.lua
View file @
e39775d2
...
...
@@ -41,7 +41,7 @@ end
function
c44046281
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
c
:
SetCardTarget
(
tc
)
end
end
...
...
c56562619.lua
View file @
e39775d2
...
...
@@ -65,7 +65,7 @@ end
function
c56562619
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
c
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
and
c
:
IsRelateToEffect
(
e
)
then
tc
:
RegisterFlagEffect
(
56562619
,
RESET_EVENT
+
0x1fe0000
,
0
,
0
)
e
:
GetLabelObject
():
SetLabel
(
1
)
if
c
:
GetFlagEffect
(
56562619
)
==
0
then
...
...
c60080151.lua
View file @
e39775d2
...
...
@@ -23,7 +23,7 @@ function c60080151.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetAttacker
()
if
tc
and
tc
:
IsAttackable
()
and
tc
:
IsRelateToBattle
()
and
not
tc
:
IsStatus
(
STATUS_ATTACK_CANCELED
)
then
local
dam
=
tc
:
GetAttack
()
if
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
)
>
0
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
)
>
0
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCountLimit
(
1
)
...
...
c62437430.lua
View file @
e39775d2
...
...
@@ -33,8 +33,8 @@ function c62437430.operation(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c62437430
.
filter
,
tp
,
0x16
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
tc
and
not
tc
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
if
tc
and
not
tc
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
tc
:
RegisterFlagEffect
(
62437430
,
RESET_EVENT
+
0x1fe0000
,
0
,
0
)
e
:
GetLabelObject
():
SetLabelObject
(
tc
)
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