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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
5943ac3a
Commit
5943ac3a
authored
Jul 14, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
fd0de66c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
expansions/script/c1102087.lua
expansions/script/c1102087.lua
+1
-0
expansions/script/c50218640.lua
expansions/script/c50218640.lua
+9
-14
No files found.
expansions/script/c1102087.lua
View file @
5943ac3a
...
...
@@ -4,6 +4,7 @@ local cm=_G["c"..m]
Duel
.
LoadScript
(
"c1110198.lua"
)
cm
.
named_with_Urban
=
true
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1102000
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
expansions/script/c50218640.lua
View file @
5943ac3a
...
...
@@ -22,14 +22,15 @@ function c50218640.initial_effect(c)
e2
:
SetTarget
(
c50218640
.
pctg
)
e2
:
SetOperation
(
c50218640
.
pcop
)
c
:
RegisterEffect
(
e2
)
--
negat
e
--
disabl
e
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_DISABLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_D
AMAGE_STEP
+
EFFECT_FLAG_D
ELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
50218640
)
e3
:
SetTarget
(
c50218640
.
neg
tg
)
e3
:
SetOperation
(
c50218640
.
neg
op
)
e3
:
SetTarget
(
c50218640
.
dis
tg
)
e3
:
SetOperation
(
c50218640
.
dis
op
)
c
:
RegisterEffect
(
e3
)
--pendulum
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -63,21 +64,15 @@ function c50218640.pcop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
MoveToField
(
g
:
GetFirst
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
end
end
function
c50218640
.
filter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
not
c
:
IsDisabled
()
end
function
c50218640
.
filter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
end
function
c50218640
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c50218640
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50218640
.
filter1
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
Duel
.
IsExistingMatchingCard
(
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
nil
,
1
,
0
,
0
)
end
function
c50218640
.
neg
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50218640
.
dis
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
c50218640
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
tc
=
g
:
GetFirst
()
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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