Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Soulgamer
ygopro-222DIY-cards
Commits
4dd0f913
Commit
4dd0f913
authored
Mar 28, 2020
by
gg123gg
Committed by
GitHub
Mar 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c12026024.lua
parent
8d171946
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
expansions/script/c12026024.lua
expansions/script/c12026024.lua
+3
-2
No files found.
expansions/script/c12026024.lua
View file @
4dd0f913
...
@@ -50,6 +50,7 @@ function c12026024.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,6 +50,7 @@ function c12026024.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c12026024
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12026024
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
b2
=
(
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
c
:
IsAbleToGrave
()
and
(
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
re
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
)
and
not
bit
.
band
(
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
),
re
:
GetHandler
():
GetLocation
())
==
0
and
eg
:
GetHandler
():
IsAbleToGrave
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
if
chk
==
0
then
if
chk
==
0
then
local
tg
=
re
:
GetTarget
()
local
tg
=
re
:
GetTarget
()
local
event
=
re
:
GetCode
()
local
event
=
re
:
GetCode
()
...
@@ -57,9 +58,9 @@ function c12026024.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -57,9 +58,9 @@ function c12026024.target(e,tp,eg,ep,ev,re,r,rp,chk)
not
tg
or
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
not
tg
or
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
else
else
local
res
,
teg
,
tep
,
tev
,
tre
,
tr
,
trp
=
Duel
.
CheckEvent
(
event
,
true
)
local
res
,
teg
,
tep
,
tev
,
tre
,
tr
,
trp
=
Duel
.
CheckEvent
(
event
,
true
)
return
not
tg
or
tg
(
e
,
tp
,
teg
,
tep
,
tev
,
tre
,
tr
,
trp
,
0
)
return
(
not
tg
or
tg
(
e
,
tp
,
teg
,
tep
,
tev
,
tre
,
tr
,
trp
,
0
)
)
and
b2
end
end
return
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
c
:
IsAbleToGrave
()
and
(
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
re
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
)
and
not
bit
.
band
(
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
),
re
:
GetHandler
():
GetLocation
())
==
0
and
eg
:
GetHandler
():
IsAbleToGrave
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
b2
end
end
local
event
=
re
:
GetCode
()
local
event
=
re
:
GetCode
()
e
:
SetLabelObject
(
re
)
e
:
SetLabelObject
(
re
)
...
...
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