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
39747860
Commit
39747860
authored
Nov 12, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c22134500.lua
parent
e3fb01b6
Pipeline
#31130
canceled with stages
in 2 minutes and 2 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
expansions/script/c22134500.lua
expansions/script/c22134500.lua
+9
-11
No files found.
expansions/script/c22134500.lua
View file @
39747860
--荒芜·东星极·右卫枢
--荒芜·东星极·右卫枢
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
local
e2213450
0
local
Ccnt
=
0
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
-- 让这张卡就算被无效也能放指示物
-- 让这张卡就算被无效也能放指示物
-- 以后定义哪张卡可以放指示物要在这里输入0x760
-- 以后定义哪张卡可以放指示物要在这里输入0x760
...
@@ -182,35 +182,33 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -182,35 +182,33 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
-- 用于让卡被无效之后指示物也不会被去除
-- 用于让卡被无效之后指示物也不会被去除
function
s
.
chkcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
chkcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e22134500
=
e
local
cnt
=
e
:
GetHandler
():
GetCounter
(
0x760
)
local
cnt
=
e
:
GetHandler
():
GetCounter
(
0x760
)
local
chc
=
e
:
GetLabel
()
local
chc
=
Ccnt
if
chc
then
if
chc
>
0
then
if
chc
>=
cnt
and
cnt
<=
1
and
e
:
GetHandler
():
GetFlagEffect
(
22134501
)
==
0
then
if
chc
>=
cnt
and
cnt
<=
1
and
e
:
GetHandler
():
GetFlagEffect
(
22134501
)
==
0
then
e
:
SetLabel
(
chc
)
Ccnt
=
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
end
end
end
end
e
:
SetLabel
(
cnt
)
Ccnt
=
cnt
end
end
function
s
.
chkncop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
chkncop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetFlagEffect
(
22134501
)
==
0
and
e22134500
then
if
e
:
GetHandler
():
GetFlagEffect
(
22134501
)
==
0
then
e22134500
:
SetLabel
(
e
:
GetHandler
():
GetCounter
(
0x760
)
)
Ccnt
=
e
:
GetHandler
():
GetCounter
(
0x760
)
end
end
end
end
function
s
.
htccop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
htccop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetFlagEffect
(
22134501
)
<=
0
and
c
:
IsDisabled
()
and
c
:
IsLocation
(
LOCATION_PZONE
+
LOCATION_MZONE
)
then
if
c
:
GetFlagEffect
(
22134501
)
<=
0
and
c
:
IsDisabled
()
and
c
:
IsLocation
(
LOCATION_PZONE
+
LOCATION_MZONE
)
then
local
cnt
=
re
:
GetLabel
()
local
cnt
=
Ccnt
if
not
(
Duel
.
IsCanAddCounter
(
c
:
GetOwner
(),
0x760
,
cnt
,
c
)
and
cnt
>
0
)
then
return
end
if
not
(
Duel
.
IsCanAddCounter
(
c
:
GetOwner
(),
0x760
,
cnt
,
c
)
and
cnt
>
0
)
then
return
end
c
:
AddCounter
(
0x760
,
cnt
)
c
:
AddCounter
(
0x760
,
cnt
)
end
end
end
end
function
s
.
resetcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
resetcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
GetLabel
(
e22134500
)
Ccnt
=
0
e22134500
:
SetLabel
()
end
end
function
s
.
fuslimit
(
e
,
c
,
sumtype
)
function
s
.
fuslimit
(
e
,
c
,
sumtype
)
...
...
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