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
15f994f7
Commit
15f994f7
authored
Nov 05, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
03582a34
Pipeline
#6682
failed with stages
in 27 minutes and 11 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
46 deletions
+42
-46
expansions/script/c9310029.lua
expansions/script/c9310029.lua
+37
-44
expansions/script/c9310052.lua
expansions/script/c9310052.lua
+5
-2
No files found.
expansions/script/c9310029.lua
View file @
15f994f7
...
...
@@ -5,64 +5,57 @@ function c9310029.initial_effect(c)
aux
.
EnablePendulumAttribute
(
c
)
--spirit return
aux
.
EnableSpiritReturn
(
c
,
EVENT_SPSUMMON_SUCCESS
)
--
battle indes
--
nontuner
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetValue
(
1
)
e1
:
SetCondition
(
c9310029
.
indcon
)
e1
:
SetCode
(
EFFECT_NONTUNER
)
e1
:
SetValue
(
c9310029
.
tnval
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
--flip
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
9310029
,
2
))
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
9310029
)
e2
:
SetTarget
(
c9310029
.
rmtg
)
e2
:
SetOperation
(
c9310029
.
rmop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_NONTUNER
)
--equip
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
9310029
,
0
))
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCategory
(
CATEGORY_EQUIP
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTarget
(
c9310029
.
eqtg
)
e3
:
SetOperation
(
c9310029
.
eqop
)
c
:
RegisterEffect
(
e3
)
--
fl
ip
--
unequ
ip
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
9310029
,
2
))
e4
:
SetCategory
(
CATEGORY_REMOVE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCountLimit
(
1
,
9310029
)
e4
:
SetTarget
(
c9310029
.
rmtg
)
e4
:
SetOperation
(
c9310029
.
rmop
)
e4
:
SetDescription
(
aux
.
Stringid
(
9310029
,
1
))
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetTarget
(
c9310029
.
sptg
)
e4
:
SetOperation
(
c9310029
.
spop
)
c
:
RegisterEffect
(
e4
)
--equip
--equip
-P
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
9310029
,
0
))
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetCategory
(
CATEGORY_EQUIP
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetTarget
(
c9310029
.
eqtg
)
e5
:
SetOperation
(
c9310029
.
eqop
)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_NO_TURN_RESET
)
e5
:
SetRange
(
LOCATION_PZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetTarget
(
c9310029
.
eqtg2
)
e5
:
SetOperation
(
c9310029
.
eqop2
)
c
:
RegisterEffect
(
e5
)
--unequip
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
9310029
,
1
))
e6
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e6
:
SetType
(
EFFECT_TYPE_IGNITION
)
e6
:
SetRange
(
LOCATION_SZONE
)
e6
:
SetTarget
(
c9310029
.
sptg
)
e6
:
SetOperation
(
c9310029
.
spop
)
c
:
RegisterEffect
(
e6
)
--equip-P
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetDescription
(
aux
.
Stringid
(
9310029
,
0
))
e7
:
SetCategory
(
CATEGORY_EQUIP
)
e7
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e7
:
SetCode
(
EVENT_FREE_CHAIN
)
e7
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_NO_TURN_RESET
)
e7
:
SetRange
(
LOCATION_PZONE
)
e7
:
SetCountLimit
(
1
)
e7
:
SetTarget
(
c9310029
.
eqtg2
)
e7
:
SetOperation
(
c9310029
.
eqop2
)
c
:
RegisterEffect
(
e7
)
end
function
c9310029
.
indcon
(
e
)
function
c9310029
.
tnval
(
e
,
c
)
return
e
:
GetHandler
():
IsDefensePos
()
end
function
c9310029
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c9310052.lua
View file @
15f994f7
...
...
@@ -26,7 +26,7 @@ function c9310052.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_NONTUNER
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
c9310052
.
tnval
)
c
:
RegisterEffect
(
e3
)
--inactivatable
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -104,6 +104,9 @@ function c9310052.sprop(e,tp,eg,ep,ev,re,r,rp,c)
Card
.
SetMaterial
(
c
,
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_COST
+
REASON_MATERIAL
)
end
function
c9310052
.
tnval
(
e
,
c
)
return
e
:
GetHandler
():
IsDefensePos
()
end
function
c9310052
.
efilter
(
e
,
ct
)
local
p
=
e
:
GetHandlerPlayer
()
local
te
,
tp
=
Duel
.
GetChainInfo
(
ct
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
...
...
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