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
44daf6b4
Commit
44daf6b4
authored
Sep 22, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
e68fcf99
Pipeline
#29907
passed with stages
in 49 minutes and 38 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
17 deletions
+4
-17
expansions/script/c50218139.lua
expansions/script/c50218139.lua
+1
-8
expansions/script/c50218140.lua
expansions/script/c50218140.lua
+2
-9
expansions/script/c50221215.lua
expansions/script/c50221215.lua
+1
-0
No files found.
expansions/script/c50218139.lua
View file @
44daf6b4
...
...
@@ -34,7 +34,7 @@ function c50218139.initial_effect(c)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c50218139
.
negcon
)
e4
:
SetTarget
(
c50218139
.
neg
tg
)
e4
:
SetTarget
(
aux
.
nb
tg
)
e4
:
SetOperation
(
c50218139
.
negop
)
c
:
RegisterEffect
(
e4
)
--token
...
...
@@ -72,13 +72,6 @@ function c50218139.negcon(e,tp,eg,ep,ev,re,r,rp)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
and
re
:
GetOwner
()
~=
e
:
GetOwner
()
end
function
c50218139
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
aux
.
nbcon
(
tp
,
re
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
eg
,
1
,
0
,
0
)
end
end
function
c50218139
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
expansions/script/c50218140.lua
View file @
44daf6b4
...
...
@@ -34,7 +34,7 @@ function c50218140.initial_effect(c)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c50218140
.
negcon
)
e4
:
SetTarget
(
c50218140
.
neg
tg
)
e4
:
SetTarget
(
aux
.
nb
tg
)
e4
:
SetOperation
(
c50218140
.
negop
)
c
:
RegisterEffect
(
e4
)
--token
...
...
@@ -63,19 +63,12 @@ function c50218140.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c50218140
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
end
function
c50218140
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c50218140
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
aux
.
nbcon
(
tp
,
re
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
eg
,
1
,
0
,
0
)
end
end
function
c50218140
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
expansions/script/c50221215.lua
View file @
44daf6b4
...
...
@@ -5,6 +5,7 @@ function c50221215.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
50221215
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
c50221215
.
target
)
e1
:
SetOperation
(
c50221215
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
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