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
86788c41
Commit
86788c41
authored
Dec 11, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c60000032.lua
parent
1d3eb11b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
42 deletions
+43
-42
expansions/script/c60000032.lua
expansions/script/c60000032.lua
+43
-42
No files found.
expansions/script/c60000032.lua
View file @
86788c41
...
...
@@ -2,13 +2,14 @@
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddCodeList
(
c
,
m
)
--cannot special summon
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e
1
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e
1
)
local
e
0
=
Effect
.
CreateEffect
(
c
)
e
0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e
0
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e
0
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
...
...
@@ -22,45 +23,45 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e1
)
--to hand
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e
1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_GRAVE_ACTION
+
CATEGORY_LEAVE_GRAVE
)
e
1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e
1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e
1
:
SetTarget
(
cm
.
thtg
)
e
1
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e
1
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e
2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_GRAVE_ACTION
+
CATEGORY_LEAVE_GRAVE
)
e
2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e
2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e
2
:
SetTarget
(
cm
.
thtg
)
e
2
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e
2
)
--immune
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e
1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e
1
:
SetRange
(
LOCATION_MZONE
)
e
1
:
SetCondition
(
cm
.
immcon
)
e
1
:
SetValue
(
cm
.
immval
)
c
:
RegisterEffect
(
e
1
)
local
e
0
=
e1
:
Clone
()
e
0
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
c
:
RegisterEffect
(
e
0
)
local
e
9
=
Effect
.
CreateEffect
(
c
)
e
9
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e
9
:
SetCode
(
EVENT_ADJUST
)
e
9
:
SetRange
(
LOCATION_MZONE
)
e
9
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e
9
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e
3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e
3
:
SetRange
(
LOCATION_MZONE
)
e
3
:
SetCondition
(
cm
.
immcon
)
e
3
:
SetValue
(
cm
.
immval
)
c
:
RegisterEffect
(
e
3
)
local
e
4
=
e3
:
Clone
()
e
4
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
c
:
RegisterEffect
(
e
4
)
local
e
5
=
Effect
.
CreateEffect
(
c
)
e
5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e
5
:
SetCode
(
EVENT_ADJUST
)
e
5
:
SetRange
(
LOCATION_MZONE
)
e
5
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e
5
)
--control
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetCategory
(
CATEGORY_RECOVER
)
e
2
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e
2
:
SetCondition
(
cm
.
condition
)
e
2
:
SetTarget
(
cm
.
target
)
e
2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e
2
)
local
e
6
=
Effect
.
CreateEffect
(
c
)
e
6
:
SetCategory
(
CATEGORY_RECOVER
)
e
6
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e
6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
6
:
SetCode
(
EVENT_LEAVE_FIELD
)
e
6
:
SetCondition
(
cm
.
condition
)
e
6
:
SetTarget
(
cm
.
target
)
e
6
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e
6
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
e
:
GetHandler
():
GetOwner
()
...
...
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