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
33e33cb2
Commit
33e33cb2
authored
Apr 06, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
205bef57
Pipeline
#11485
passed with stages
in 31 minutes and 23 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
11 deletions
+39
-11
expansions/script/c92369022.lua
expansions/script/c92369022.lua
+39
-11
No files found.
expansions/script/c92369022.lua
View file @
33e33cb2
...
...
@@ -2,17 +2,27 @@
local
m
=
92369022
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--tohand
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
)
)
e
1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetTarget
(
cm
.
thtg
)
e1
:
Set
Operation
(
cm
.
thop
)
--summon success
local
e
0
=
Effect
.
CreateEffect
(
c
)
e
0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e
0
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e
0
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
0
:
SetOperation
(
cm
.
rmop
)
c
:
RegisterEffect
(
e0
)
local
e1
=
e0
:
Clone
(
)
e1
:
Set
Code
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e1
)
local
e3
=
e1
:
Clone
()
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
--to deck
...
...
@@ -34,6 +44,24 @@ if not cm.global_check then
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
cm
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
cm
.
tg
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
cm
.
tg
(
e
,
c
)
return
c
:
IsCode
(
m
)
end
function
cm
.
thfilter
(
c
)
return
(
c
:
IsSetCard
(
0x3a44
)
or
c
:
IsCode
(
92369005
))
and
c
:
IsAbleToHand
()
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