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
e140a217
Commit
e140a217
authored
Dec 21, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
52f495d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c64800109.lua
expansions/script/c64800109.lua
+3
-3
No files found.
expansions/script/c64800109.lua
View file @
e140a217
...
@@ -13,7 +13,7 @@ function c64800109.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c64800109.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
64800109
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
64800109
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
,
64810109
)
e2
:
SetCountLimit
(
64810109
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetTarget
(
c64800109
.
target
)
e2
:
SetTarget
(
c64800109
.
target
)
e2
:
SetOperation
(
c64800109
.
operation
)
e2
:
SetOperation
(
c64800109
.
operation
)
...
@@ -74,7 +74,7 @@ end
...
@@ -74,7 +74,7 @@ end
function
c64800109
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64800109
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
then
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
then
...
@@ -111,6 +111,6 @@ function c64800109.atkcon(e)
...
@@ -111,6 +111,6 @@ function c64800109.atkcon(e)
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
end
end
function
c64800109
.
atkval
(
e
,
c
)
function
c64800109
.
atkval
(
e
,
c
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c64800109
.
atkfilter
,
p
,
LOCATION_ONFIELD
,
0
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c64800109
.
atkfilter
,
e
:
GetHandler
():
GetControler
()
,
LOCATION_ONFIELD
,
0
,
nil
)
return
ct
*
500
return
ct
*
500
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