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
b84ee26e
Commit
b84ee26e
authored
Jun 06, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
8ed6e354
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
expansions/script/c81005014.lua
expansions/script/c81005014.lua
+1
-1
expansions/script/c9310011.lua
expansions/script/c9310011.lua
+20
-0
No files found.
expansions/script/c81005014.lua
View file @
b84ee26e
...
...
@@ -10,7 +10,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
expansions/script/c9310011.lua
View file @
b84ee26e
...
...
@@ -7,10 +7,17 @@ function c9310011.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
9310011
)
e1
:
SetCondition
(
c9310011
.
spcon1
)
e1
:
SetCost
(
c9310011
.
rscost
)
e1
:
SetTarget
(
c9310011
.
tg
)
e1
:
SetOperation
(
c9310011
.
op
)
c
:
RegisterEffect
(
e1
)
local
e11
=
e1
:
Clone
()
e11
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e11
:
SetCode
(
EVENT_FREE_CHAIN
)
e11
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e11
:
SetCondition
(
c9310011
.
spcon2
)
c
:
RegisterEffect
(
e11
)
--flip
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -38,10 +45,23 @@ function c9310011.initial_effect(c)
e5
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e5
:
SetRange
(
LOCATION_GRAVE
)
e5
:
SetCountLimit
(
1
,
9311011
)
e5
:
SetCondition
(
c9310011
.
spcon1
)
e5
:
SetCost
(
c9310011
.
thcost
)
e5
:
SetTarget
(
c9310011
.
target
)
e5
:
SetOperation
(
c9310011
.
operation
)
c
:
RegisterEffect
(
e5
)
local
e51
=
e5
:
Clone
()
e51
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e51
:
SetCode
(
EVENT_FREE_CHAIN
)
e51
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e51
:
SetCondition
(
c9310011
.
spcon2
)
c
:
RegisterEffect
(
e51
)
end
function
c9310011
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
30013020
)
end
function
c9310011
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
30013020
)
end
function
c9310011
.
rscost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
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