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
REIKAI
ygopro-222DIY-cards
Commits
3fc57140
Commit
3fc57140
authored
Dec 29, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7
parent
9a851740
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
expansions/script/c33300601.lua
expansions/script/c33300601.lua
+10
-2
No files found.
expansions/script/c33300601.lua
View file @
3fc57140
...
@@ -12,11 +12,13 @@ function s.initial_effect(c)
...
@@ -12,11 +12,13 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
s
.
mttg
)
e2
:
SetTarget
(
s
.
mttg
)
e2
:
SetCondition
(
s
.
mtcon
)
e2
:
SetOperation
(
s
.
mtop
)
e2
:
SetOperation
(
s
.
mtop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -41,6 +43,9 @@ function s.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -41,6 +43,9 @@ function s.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
return
true
else
return
false
end
else
return
false
end
end
end
function
s
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
function
s
.
mtfilter
(
c
,
e
)
function
s
.
mtfilter
(
c
,
e
)
return
c
:
IsCanOverlay
()
and
not
(
e
and
c
:
IsImmuneToEffect
(
e
))
return
c
:
IsCanOverlay
()
and
not
(
e
and
c
:
IsImmuneToEffect
(
e
))
end
end
...
@@ -65,6 +70,9 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,6 +70,9 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp)
if
mg2
:
GetCount
()
>
0
then
if
mg2
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
mg2
,
REASON_RULE
)
Duel
.
SendtoGrave
(
mg2
,
REASON_RULE
)
end
end
if
g2
:
GetFirst
():
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
g2
:
GetFirst
():
CancelToGrave
()
end
Duel
.
Overlay
(
c
,
g2
)
Duel
.
Overlay
(
c
,
g2
)
end
end
end
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