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
bd2d63ab
Commit
bd2d63ab
authored
Sep 27, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
cf3cb862
Pipeline
#828
passed with stages
in 45 minutes and 16 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
123 additions
and
123 deletions
+123
-123
expansions/script/c47570200.lua
expansions/script/c47570200.lua
+123
-123
No files found.
expansions/script/c47570200.lua
View file @
bd2d63ab
...
...
@@ -31,24 +31,24 @@ function c47570200.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCondition
(
c47570200
.
spcon
)
e4
:
SetCondition
(
c47570200
.
spcon0
)
e4
:
SetOperation
(
c47570200
.
spop
)
c
:
RegisterEffect
(
e4
)
--special summon2
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
47570200
,
0
))
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_TO_DECK
)
e5
:
SetCode
(
EVENT_TO_DECK
+
EVENT_TO_GRAVE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetCondition
(
c47570200
.
spcon
)
e5
:
SetTarget
(
c47570200
.
sptg2
)
e5
:
SetOperation
(
c47570200
.
spop2
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EVENT_TO_GRAVE
)
e6
:
SetCondition
(
c47570200
.
spcon2
)
c
:
RegisterEffect
(
e6
)
--
local e6=e5:Clone()
--
e6:SetCode(EVENT_TO_GRAVE)
--
e6:SetCondition(c47570200.spcon2)
--
c:RegisterEffect(e6)
--cannot effect
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetDescription
(
aux
.
Stringid
(
47570200
,
1
))
...
...
@@ -77,7 +77,7 @@ function c47570200.effectfilter(e,ct)
local
te
,
tp
,
loc
=
Duel
.
GetChainInfo
(
ct
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_LOCATION
)
return
p
==
tp
and
te
:
GetHandler
():
IsRace
(
RACE_PLANT
)
and
bit
.
band
(
loc
,
LOCATION_ONFIELD
)
~=
0
end
function
c47570200
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c47570200
.
spcon
0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
function
c47570200
.
filter
(
c
,
e
,
tp
)
...
...
@@ -92,19 +92,19 @@ function c47570200.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c47570200
.
tefilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsRace
(
RACE_PLANT
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
(
c
:
IsLocation
(
LOCATION_EXTRA
)
or
c
:
IsLocation
(
LOCATION_GRAVE
)
)
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c47570200
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c47570200
.
tefilter
,
1
,
nil
,
tp
)
end
function
c47570200
.
tgfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c47570200
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c47570200
.
tgfilter
,
1
,
nil
,
tp
)
end
--
function c47570200.tgfilter(c,tp)
--
return c:IsFaceup() and c:IsControler(tp) and c:IsLocation(LOCATION_GRAVE) and c:IsRace(RACE_PLANT)
--
and c:IsPreviousLocation(LOCATION_ONFIELD)
--
end
--
function c47570200.spcon2(e,tp,eg,ep,ev,re,r,rp)
--
return eg:IsExists(c47570200.tgfilter,1,nil,tp)
--
end
function
c47570200
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
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