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
74ea4ef0
Commit
74ea4ef0
authored
Nov 12, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c22134500.lua
parent
a40f7c12
Pipeline
#31107
canceled with stages
in 45 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
expansions/script/c22134500.lua
expansions/script/c22134500.lua
+20
-1
No files found.
expansions/script/c22134500.lua
View file @
74ea4ef0
...
@@ -52,6 +52,20 @@ function s.initial_effect(c)
...
@@ -52,6 +52,20 @@ function s.initial_effect(c)
ec2
:
SetCode
(
EVENT_CUSTOM
+
id
)
ec2
:
SetCode
(
EVENT_CUSTOM
+
id
)
ec2
:
SetOperation
(
s
.
htccop
)
ec2
:
SetOperation
(
s
.
htccop
)
c
:
RegisterEffect
(
ec2
)
c
:
RegisterEffect
(
ec2
)
-- 特殊召唤时,清除指示物设置
local
ec3
=
Effect
.
CreateEffect
(
c
)
ec3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
ec3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ec3
:
SetRange
(
LOCATION_MZONE
)
ec3
:
SetCode
(
EVENT_SPSUMMON
)
ec3
:
SetOperation
(
s
.
resetcop
)
c
:
RegisterEffect
(
ec3
)
local
ec30
=
ec3
:
Clone
()
ec30
:
SetCode
(
EVENT_SUMMON
)
c
:
RegisterEffect
(
ec30
)
local
ec31
=
ec3
:
Clone
()
ec31
:
SetCode
(
EVENT_FLIP_SUMMON
)
c
:
RegisterEffect
(
ec31
)
--special summon by PZONE
--special summon by PZONE
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -172,7 +186,7 @@ end
...
@@ -172,7 +186,7 @@ end
local
cnt
=
e
:
GetHandler
():
GetCounter
(
0x760
)
local
cnt
=
e
:
GetHandler
():
GetCounter
(
0x760
)
local
chc
=
e
:
GetLabel
()
local
chc
=
e
:
GetLabel
()
if
chc
then
if
chc
then
if
chc
>=
cnt
and
cnt
<=
1
then
if
chc
>=
cnt
and
cnt
<=
1
and
e
:
GetHandler
():
GetFlagEffect
(
22134501
)
==
0
then
e
:
SetLabel
(
chc
)
e
:
SetLabel
(
chc
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
id
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
id
,
e
,
0
,
0
,
0
,
0
)
return
return
...
@@ -194,6 +208,11 @@ end
...
@@ -194,6 +208,11 @@ end
c
:
AddCounter
(
0x760
,
cnt
)
c
:
AddCounter
(
0x760
,
cnt
)
end
end
end
end
function
s
.
resetcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
GetLabel
(
e22134500
)
e22134500
:
SetLabel
()
end
function
s
.
fuslimit
(
e
,
c
,
sumtype
)
function
s
.
fuslimit
(
e
,
c
,
sumtype
)
return
sumtype
&
SUMMON_TYPE_FUSION
==
SUMMON_TYPE_FUSION
return
sumtype
&
SUMMON_TYPE_FUSION
==
SUMMON_TYPE_FUSION
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