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
dde3b30b
Commit
dde3b30b
authored
Jan 12, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d938fc83
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
script/c101008008.lua
script/c101008008.lua
+1
-0
script/c101008025.lua
script/c101008025.lua
+4
-0
script/c101008075.lua
script/c101008075.lua
+1
-1
No files found.
script/c101008008.lua
View file @
dde3b30b
...
...
@@ -28,6 +28,7 @@ end
function
c101008008
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttacker
()
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
Duel
.
GetAttackTarget
()
end
if
not
tc
then
return
false
end
e
:
SetLabelObject
(
tc
)
local
bc
=
tc
:
GetBattleTarget
()
return
bc
and
tc
:
IsSetCard
(
0x11a
)
and
bc
:
IsAttackAbove
(
tc
:
GetAttack
())
...
...
script/c101008025.lua
View file @
dde3b30b
...
...
@@ -10,10 +10,14 @@ function c101008025.initial_effect(c)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
101008025
)
e1
:
SetCondition
(
c101008025
.
condition
)
e1
:
SetCost
(
c101008025
.
cost
)
e1
:
SetOperation
(
c101008025
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c101008025
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_END
end
function
c101008025
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
...
...
script/c101008075.lua
View file @
dde3b30b
...
...
@@ -42,7 +42,7 @@ end
function
c101008075
.
cfilter
(
c
,
e
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xfe
)
and
c
:
GetBaseAttack
()
>
0
and
c
:
IsAbleToRemoveAsCost
()
and
(
c
:
IsFaceup
()
or
not
c
:
IsLocation
(
LOCATION_MZONE
))
and
Duel
.
IsExisting
Target
(
c101008075
.
filter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
,
e
)
and
Duel
.
IsExisting
MatchingCard
(
c101008075
.
filter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
,
e
)
end
function
c101008075
.
filter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsCanBeEffectTarget
(
e
)
...
...
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