Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
df4d1280
Commit
df4d1280
authored
Feb 22, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
71a4a1b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
script/c100408004.lua
script/c100408004.lua
+1
-1
script/c100408008.lua
script/c100408008.lua
+2
-2
No files found.
script/c100408004.lua
View file @
df4d1280
...
...
@@ -30,7 +30,7 @@ function c100408004.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c100408004
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsSetCard
(
0x8e
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
~=
tp
))
end
function
c100408004
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100408008.lua
View file @
df4d1280
...
...
@@ -18,7 +18,7 @@ function c100408008.tgfilter1(c,tp)
and
Duel
.
IsExistingMatchingCard
(
c100408008
.
tgfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
lv
)
end
function
c100408008
.
tgfilter2
(
c
,
lv
)
return
c
:
IsSetCard
(
0x8e
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x8e
)
and
c
:
IsLevelAbove
(
0
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsAbleToGrave
()
end
function
c100408008
.
spfilter1
(
c
,
tp
)
return
c
:
IsAbleToGrave
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
...
...
@@ -79,7 +79,7 @@ function c100408008.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c100408008
.
spfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
~=
0
and
g
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
if
tg
:
GetCount
()
>
0
and
Duel
.
SendtoGrave
(
tg
,
REASON_EFFECT
)
~=
0
and
t
g
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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