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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
b88d40e6
Commit
b88d40e6
authored
Jun 11, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tiao zheng sha
parent
512cca13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
expansions/script/c77777777.lua
expansions/script/c77777777.lua
+6
-4
No files found.
expansions/script/c77777777.lua
View file @
b88d40e6
...
...
@@ -9,11 +9,13 @@ function cm.initial_effect(c)
c
:
EnableReviveLimit
()
--f
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
m
*
16
+
1
)
e2
:
SetDescription
(
m
*
16
+
4
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCondition
(
cm
.
MaterialCheck
(
TYPE_LINK
))
e2
:
SetCondition
(
cm
.
MaterialCheck
(
TYPE_LINK
,
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsAbleToEnterBP
()
and
not
e
:
GetHandler
():
IsHasEffect
(
EFFECT_ATTACK_ALL
)
end
))
e2
:
SetCost
(
Senya
.
DescriptionCost
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
...
...
@@ -84,7 +86,7 @@ function cm.initial_effect(c)
return
c
:
GetOriginalCode
()
==
code
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
m
*
16
+
3
)
e2
:
SetDescription
(
m
*
16
+
1
)
e2
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -179,7 +181,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
ex
)
--l
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
m
*
16
+
4
)
e2
:
SetDescription
(
m
*
16
+
3
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
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