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
90c50398
Commit
90c50398
authored
Nov 03, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e01168c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
script/c100270202.lua
script/c100270202.lua
+2
-2
script/c100270218.lua
script/c100270218.lua
+1
-1
script/c101102086.lua
script/c101102086.lua
+1
-1
script/c101102090.lua
script/c101102090.lua
+1
-1
No files found.
script/c100270202.lua
View file @
90c50398
...
...
@@ -31,10 +31,10 @@ function c100270202.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
c100270202
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c100270202
.
tgfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
:
Get
Original
Attribute
())
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c100270202
.
tgfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
:
GetAttribute
())
end
function
c100270202
.
tgfilter
(
c
,
att
)
return
c
:
IsAbleToGrave
()
and
c
:
Get
Original
Attribute
()
==
att
and
c
:
IsSetCard
(
0x9d
)
return
c
:
IsAbleToGrave
()
and
c
:
GetAttribute
()
==
att
and
c
:
IsSetCard
(
0x9d
)
end
function
c100270202
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c100270202
.
cfilter
(
chkc
,
tp
)
end
...
...
script/c100270218.lua
View file @
90c50398
...
...
@@ -58,7 +58,7 @@ function c100270218.actop(e,tp,eg,ep,ev,re,r,rp)
end
function
c100270218
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetBattleMonster
(
tp
)
return
tc
:
IsRace
(
RACE_PLANT
)
and
tc
:
IsType
(
TYPE_LINK
)
return
tc
and
tc
:
IsRace
(
RACE_PLANT
)
and
tc
:
IsType
(
TYPE_LINK
)
end
function
c100270218
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
Duel
.
GetBattleMonster
(
tp
)
...
...
script/c101102086.lua
View file @
90c50398
...
...
@@ -67,6 +67,6 @@ function c101102086.sp2op(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c101102086
.
sp2
cost
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c101102086
.
sp2
tg
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
script/c101102090.lua
View file @
90c50398
...
...
@@ -47,7 +47,7 @@ function c101102090.descon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c101102090
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTORY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
...
...
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