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
9d8e2f98
Commit
9d8e2f98
authored
Oct 17, 2023
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1444dfb5
Pipeline
#23775
passed with stages
in 22 minutes and 29 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
expansions/script/c30683085.lua
expansions/script/c30683085.lua
+13
-7
No files found.
expansions/script/c30683085.lua
View file @
9d8e2f98
...
@@ -159,35 +159,38 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -159,35 +159,38 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e1
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetCondition
(
cm
.
reascon
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
rc
:
RegisterEffect
(
e1
,
true
)
rc
:
RegisterEffect
(
e1
,
true
)
--
--
local
e0_1
=
Effect
.
CreateEffect
(
c
)
local
e0_1
=
Effect
.
CreateEffect
(
c
)
e0_1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0_1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0_1
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e0_1
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e0_1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e0_1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
+
EFFECT_FLAG_CANNOT_DISABLE
)
e0_1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0_1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0_1
:
SetCode
(
EFFECT_CANNOT_TO_GRAVE_AS_COST
)
e0_1
:
SetCode
(
EFFECT_CANNOT_TO_GRAVE_AS_COST
)
e0_1
:
SetRange
(
LOCATION_MZONE
)
e0_1
:
SetRange
(
LOCATION_MZONE
)
e0_1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e0_1
:
SetCondition
(
cm
.
reascon
)
e0_1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
rc
:
RegisterEffect
(
e0_1
,
true
)
rc
:
RegisterEffect
(
e0_1
,
true
)
local
e0_2
=
Effect
.
CreateEffect
(
c
)
local
e0_2
=
Effect
.
CreateEffect
(
c
)
e0_2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0_2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0_2
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e0_2
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e0_2
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e0_2
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
+
EFFECT_FLAG_CANNOT_DISABLE
)
e0_2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0_2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0_2
:
SetCode
(
EFFECT_CANNOT_TO_GRAVE
)
e0_2
:
SetCode
(
EFFECT_CANNOT_TO_GRAVE
)
e0_2
:
SetRange
(
LOCATION_MZONE
)
e0_2
:
SetRange
(
LOCATION_MZONE
)
e0_2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e0_2
:
SetCondition
(
cm
.
reascon
)
e0_2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
rc
:
RegisterEffect
(
e0_2
,
true
)
rc
:
RegisterEffect
(
e0_2
,
true
)
--
--
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e4
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e4
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
+
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e4
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e4
:
SetValue
(
LOCATION_EXTRA
)
e4
:
SetValue
(
LOCATION_EXTRA
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_
STANDARD
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_
REDIRECT
)
rc
:
RegisterEffect
(
e4
,
true
)
rc
:
RegisterEffect
(
e4
,
true
)
if
not
rc
:
IsType
(
TYPE_EFFECT
)
then
if
not
rc
:
IsType
(
TYPE_EFFECT
)
then
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -199,6 +202,9 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -199,6 +202,9 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
end
end
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
4
))
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
4
))
end
end
function
cm
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
(
r
==
REASON_SYNCHRO
or
r
==
REASON_FUSION
or
r
==
REASON_LINK
or
r
==
REASON_XYZ
)
end
function
cm
.
atklimit
(
e
,
c
)
function
cm
.
atklimit
(
e
,
c
)
return
c
==
e
:
GetHandler
()
return
c
==
e
:
GetHandler
()
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