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
c99729f4
Commit
c99729f4
authored
Jan 17, 2025
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c31710047.lua
parent
71c0292b
Pipeline
#32626
passed with stages
in 56 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
14 deletions
+8
-14
expansions/script/c31710047.lua
expansions/script/c31710047.lua
+8
-14
No files found.
expansions/script/c31710047.lua
View file @
c99729f4
...
...
@@ -48,16 +48,18 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
id
,
4
))
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
infilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
for
tc
in
aux
.
Next
(
mg
)
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
3
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
)
e1
:
SetValue
(
s
.
efilter
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
AdjustAll
()
end
...
...
@@ -71,17 +73,9 @@ function s.infilter(c)
end
return
false
end
function
s
.
indtg
(
e
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
lkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
for
tc
in
aux
.
Next
(
mg
)
do
if
tc
:
GetLinkedGroup
():
IsContains
(
c
)
then
return
true
end
end
return
false
end
function
s
.
efilter
(
e
,
re
)
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
function
s
.
efilter
(
e
,
te
)
return
te
:
GetOwnerPlayer
()
~=
e
:
GetOwnerPlayer
()
end
function
s
.
lkfilter
(
c
,
lc
,
sumtype
,
tp
)
return
c
:
IsLinkType
(
TYPE_LINK
)
and
c
:
IsSetCard
(
0x690
)
...
...
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