Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
4d241a76
Commit
4d241a76
authored
Dec 07, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push by Appveyor
parent
d6b7494f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c1156015.lua
expansions/script/c1156015.lua
+3
-3
No files found.
expansions/script/c1156015.lua
View file @
4d241a76
...
@@ -53,7 +53,7 @@ function c1156015.lkfilter(c,lc,tp)
...
@@ -53,7 +53,7 @@ function c1156015.lkfilter(c,lc,tp)
if
c
:
IsType
(
TYPE_MONSTER
)
then
if
c
:
IsType
(
TYPE_MONSTER
)
then
return
flag
and
c
:
IsRace
(
RACE_SPELLCASTER
)
return
flag
and
c
:
IsRace
(
RACE_SPELLCASTER
)
else
else
return
flag
and
c
:
IsType
(
TYPE_SPELL
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
)
end
end
end
end
function
c1156015
.
lvfilter
(
c
)
function
c1156015
.
lvfilter
(
c
)
...
@@ -131,11 +131,11 @@ function c1156015.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -131,11 +131,11 @@ function c1156015.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
--
--
function
c1156015
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1156015
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
:
GetHandler
():
IsType
(
TYPE_FIELD
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
if
(
re
:
GetHandler
():
IsType
(
TYPE_FIELD
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
then
re
:
GetHandler
():
CancelToGrave
()
if
Duel
.
MoveToField
(
re
:
GetHandler
(),
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEDOWN
,
true
)
then
if
Duel
.
MoveToField
(
re
:
GetHandler
(),
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEDOWN
,
true
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
re
:
GetHandler
())
Duel
.
ConfirmCards
(
1
-
tp
,
re
:
GetHandler
())
Duel
.
RaiseEvent
(
re
:
GetHandler
(),
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
Duel
.
RaiseEvent
(
re
:
GetHandler
(),
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
re
:
GetHandler
():
CancelToGrave
()
end
end
end
end
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