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
Soulgamer
ygopro-222DIY-cards
Commits
edf6daa2
Commit
edf6daa2
authored
Mar 07, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
114514
parent
e6cc368a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
+16
-11
expansions/script/c12899018.lua
expansions/script/c12899018.lua
+16
-11
No files found.
expansions/script/c12899018.lua
View file @
edf6daa2
--D.H.P.K.-奈娜
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--act limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetRange
(
0xff
)
e1
:
SetCondition
(
s
.
actcon
)
c
:
RegisterEffect
(
e1
)
if
not
s
.
global_flag
then
s
.
global_flag
=
true
--act limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetTargetRange
(
0xff
,
0xff
)
e1
:
SetTarget
(
s
.
disable
)
Duel
.
RegisterEffect
(
e1
,
0
)
end
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
1109
)
...
...
@@ -34,9 +36,12 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
actcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
IsExistingMatchingCard
(
s
.
ndcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
s
.
limt_name_hpk
=
id
function
s
.
disable
(
e
,
c
)
if
c
.
limt_name_hpk
~=
id
then
return
end
local
tp
=
c
:
GetControler
()
return
(
c
:
IsType
(
TYPE_EFFECT
)
or
c
:
GetOriginalType
()
&
TYPE_EFFECT
~=
0
)
and
Duel
.
IsExistingMatchingCard
(
s
.
ndcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
s
.
ndcfilter
(
c
)
return
c
:
IsFacedown
()
or
not
c
:
IsSetCard
(
0x5a71
)
...
...
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