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
048aef08
Commit
048aef08
authored
Jun 30, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
4b59a4a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
expansions/script/c53766002.lua
expansions/script/c53766002.lua
+1
-1
expansions/script/c53766004.lua
expansions/script/c53766004.lua
+1
-1
expansions/script/c53766007.lua
expansions/script/c53766007.lua
+4
-3
No files found.
expansions/script/c53766002.lua
View file @
048aef08
...
@@ -13,7 +13,7 @@ function s.initial_effect(c)
...
@@ -13,7 +13,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetCategory
(
CATEGORY_COUNTER
+
HINTMSG
_DESTROY
+
CATEGORY_ATKCHANGE
)
e2
:
SetCategory
(
CATEGORY_COUNTER
+
CATEGORY
_DESTROY
+
CATEGORY_ATKCHANGE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c53766004.lua
View file @
048aef08
...
@@ -11,7 +11,7 @@ function s.initial_effect(c)
...
@@ -11,7 +11,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetCategory
(
CATEGORY_COUNTER
+
HINTMSG_DESTROY
+
CATEGORY_ATKCHANGE
)
e2
:
SetCategory
(
CATEGORY_COUNTER
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c53766007.lua
View file @
048aef08
...
@@ -2,7 +2,7 @@ local s,id,o=GetID()
...
@@ -2,7 +2,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_
COUNTER
+
HINTMSG_DESTROY
+
CATEGORY_ATKCHANGE
)
e1
:
SetCategory
(
CATEGORY_
TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
@@ -34,9 +34,10 @@ function s.cttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -34,9 +34,10 @@ function s.cttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
s
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
()):
GetFirst
()
local
tc
=
Duel
.
SelectTarget
(
tp
,
s
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
()):
GetFirst
()
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
e
:
SetCategory
(
CATEGORY_TOHAND
)
for
i
=
1
,
Duel
.
GetCurrentChain
()
-
1
do
for
i
=
1
,
Duel
.
GetCurrentChain
()
-
1
do
local
te
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
)
local
te
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
)
if
te
and
te
:
GetHandler
()
and
te
:
GetHandler
()
==
tc
then
e
:
SetLabel
(
1
)
break
end
if
te
and
te
:
GetHandler
()
and
te
:
GetHandler
()
==
tc
then
e
:
SetLabel
(
1
)
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_DISABLE
)
break
end
end
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
end
...
@@ -95,4 +96,4 @@ function s.sdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,4 +96,4 @@ function s.sdop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
end
end
\ No newline at end of file
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