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
b360f1fd
Commit
b360f1fd
authored
Dec 18, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c22600021.lua
parent
7b68cfe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
expansions/script/c22600021.lua
expansions/script/c22600021.lua
+5
-8
No files found.
expansions/script/c22600021.lua
View file @
b360f1fd
...
@@ -38,6 +38,9 @@ function cm.initial_effect(c)
...
@@ -38,6 +38,9 @@ function cm.initial_effect(c)
local
e20
=
e1
:
Clone
()
local
e20
=
e1
:
Clone
()
e20
:
SetCode
(
EVENT_CHAIN_NEGATED
)
e20
:
SetCode
(
EVENT_CHAIN_NEGATED
)
c
:
RegisterEffect
(
e20
)
c
:
RegisterEffect
(
e20
)
local
e21
=
e1
:
Clone
()
e21
:
SetCode
(
EVENT_CHAIN_END
)
c
:
RegisterEffect
(
e21
)
local
e10
=
Effect
.
CreateEffect
(
c
)
local
e10
=
Effect
.
CreateEffect
(
c
)
e10
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e10
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e10
:
SetCategory
(
CATEGORY_DISABLE
)
e10
:
SetCategory
(
CATEGORY_DISABLE
)
...
@@ -68,21 +71,15 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,21 +71,15 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFaceup
()
and
Duel
.
GetMatchingGroupCount
(
cm
.
countfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
==
0
then
if
c
:
IsFaceup
()
and
Duel
.
GetMatchingGroupCount
(
cm
.
countfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
==
0
then
if
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
--e:GetHandler():RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,0))
--Duel.Recover(1-tp,1000,REASON_EFFECT)
--Duel.Recover(1-tp,1000,REASON_EFFECT)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_
CHAINING
)
e1
:
SetCode
(
EVENT_
ADJUST
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
cm
.
rtcon
)
e1
:
SetCondition
(
cm
.
rtcon
)
e1
:
SetOperation
(
cm
.
retop
)
e1
:
SetOperation
(
cm
.
retop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
cm
.
rtcon
)
e2
:
SetOperation
(
cm
.
retop
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
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