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
ed78f908
Commit
ed78f908
authored
May 14, 2025
by
Satty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1c5a9ea2
Pipeline
#36340
passed with stages
in 28 minutes and 59 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
27 deletions
+19
-27
expansions/script/c12899019.lua
expansions/script/c12899019.lua
+17
-25
expansions/script/c17243106.lua
expansions/script/c17243106.lua
+1
-1
expansions/script/c30005316.lua
expansions/script/c30005316.lua
+1
-1
No files found.
expansions/script/c12899019.lua
View file @
ed78f908
...
...
@@ -4,23 +4,22 @@ function s.initial_effect(c)
--Synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
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
)
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetTargetRange
(
0xff
,
0xff
)
e2
:
SetTarget
(
s
.
disable
)
e2
:
SetCode
(
EFFECT_DISABLE
)
Duel
.
RegisterEffect
(
e2
,
0
)
end
--act limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetRange
(
0xff
)
e1
:
SetCondition
(
s
.
actcon
)
c
:
RegisterEffect
(
e1
)
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EFFECT_DISABLE
)
e2
:
SetCondition
(
s
.
actcon
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
@@ -42,17 +41,10 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e4
)
end
s
.
limt_name_hpk
=
id
function
s
.
actcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
IsExistingMatchingCard
(
s
.
ndcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
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
)
end
...
...
@@ -91,7 +83,7 @@ end
function
s
.
thfilter
(
c
)
local
b1
=
c
:
IsAbleToHand
()
local
b2
=
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
return
c
:
Is
FaceupEx
()
and
c
:
IsSetCard
(
0x6a71
)
and
(
b1
or
b2
)
return
c
:
Is
SetCard
(
0x6a71
)
and
(
b1
or
b2
)
and
c
:
IsFaceupEx
(
)
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
...
...
expansions/script/c17243106.lua
View file @
ed78f908
...
...
@@ -11,7 +11,7 @@ function s.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCost
(
s
.
spcost
)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetTarget
(
s
.
sptg
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c30005316.lua
View file @
ed78f908
...
...
@@ -93,7 +93,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e11
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e11
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e11
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e11
:
SetValue
(
LOCATION_
DECK
)
e11
:
SetValue
(
LOCATION_
REMOVED
)
c
:
RegisterEffect
(
e11
)
end
if
a
:
IsAttackable
()
and
not
a
:
IsImmuneToEffect
(
e
)
then
...
...
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