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
d998fc7d
Commit
d998fc7d
authored
Aug 06, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
b919cd76
Pipeline
#15417
passed with stages
in 25 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
expansions/script/c57300020.lua
expansions/script/c57300020.lua
+20
-0
No files found.
expansions/script/c57300020.lua
View file @
d998fc7d
...
...
@@ -17,6 +17,26 @@ function c57300020.initial_effect(c)
end
)
e1
:
SetOperation
(
c57300020
.
atkop
)
c
:
RegisterEffect
(
e1
)
--
--self destroy
local
e12
=
Effect
.
CreateEffect
(
c
)
e12
:
SetType
(
EFFECT_TYPE_SINGLE
)
e12
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e12
:
SetRange
(
LOCATION_MZONE
)
e12
:
SetCode
(
EFFECT_SELF_DESTROY
)
--e12:SetCondition(c57300020.sdcon)
--c:RegisterEffect(e1)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_GRANT
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetTarget
(
c57300020
.
eftg
)
e3
:
SetLabelObject
(
e12
)
c
:
RegisterEffect
(
e3
)
end
function
c57300020
.
eftg
(
e
,
c
)
local
val
=
e
:
GetHandler
():
GetOverlayCount
()
return
c
:
IsFaceup
()
and
(
c
:
IsLevelBelow
(
val
)
or
c
:
IsRankBelow
(
val
))
end
function
c57300020
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
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