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
a0bf41e9
Commit
a0bf41e9
authored
Nov 12, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c22134510.lua
parent
3c1bc71c
Pipeline
#31132
canceled with stages
in 29 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/c22134510.lua
expansions/script/c22134510.lua
+9
-11
No files found.
expansions/script/c22134510.lua
View file @
a0bf41e9
--东星极·右方之岩
--东星极·右方之岩
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
local
e2213451
0
local
Ccnt
=
0
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
-- 让这张卡就算被无效也能放指示物
-- 让这张卡就算被无效也能放指示物
-- 以后定义哪张卡可以放指示物要在这里输入0x760
-- 以后定义哪张卡可以放指示物要在这里输入0x760
...
@@ -281,33 +281,31 @@ function s.tdfilter2(c)
...
@@ -281,33 +281,31 @@ function s.tdfilter2(c)
end
end
-- 用于让卡被无效之后指示物也不会被去除
-- 用于让卡被无效之后指示物也不会被去除
function
s
.
chkcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
chkcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e22134510
=
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
e22134510
then
if
e
:
GetHandler
():
GetFlagEffect
(
22134501
)
==
0
then
e22134510
:
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
(
e22134510
)
Ccnt
=
0
e22134510
:
SetLabel
(
0
)
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