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
b64b5953
Commit
b64b5953
authored
Aug 10, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
e918ca41
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
23 deletions
+8
-23
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c1009038.lua
expansions/script/c1009038.lua
+0
-12
expansions/script/c1009039.lua
expansions/script/c1009039.lua
+0
-1
expansions/script/c77702002.lua
expansions/script/c77702002.lua
+1
-1
expansions/script/c77707070.lua
expansions/script/c77707070.lua
+3
-5
expansions/script/c77729300.lua
expansions/script/c77729300.lua
+4
-4
No files found.
expansions/222DIY.cdb
View file @
b64b5953
No preview for this file type
expansions/script/c1009038.lua
View file @
b64b5953
...
...
@@ -27,18 +27,6 @@ function c1009038.initial_effect(c)
e1
:
SetTarget
(
c1009038
.
target
)
e1
:
SetOperation
(
c1009038
.
activate
)
c
:
RegisterEffect
(
e1
)
--spsummon bgm
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e8
:
SetOperation
(
c1009038
.
sumsuc
)
c
:
RegisterEffect
(
e8
)
local
e9
=
e8
:
Clone
()
e9
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e9
)
end
function
c1009038
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
1009038
,
0
))
end
function
c1009038
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
...
...
expansions/script/c1009039.lua
View file @
b64b5953
...
...
@@ -31,7 +31,6 @@ function c1009039.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c1009039
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
1009039
,
0
))
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
...
...
expansions/script/c77702002.lua
View file @
b64b5953
...
...
@@ -8,7 +8,7 @@ function scard.initial_effect(c)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetTarget
(
scard
.
regtg
)
e0
:
SetOperation
(
function
()
Duel
.
Hint
(
HINT_MUSIC
,
0
,
id
*
16
+
math.random
(
0
,
1
)
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
id
*
16
+
1
)
end
)
c
:
RegisterEffect
(
e0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c77707070.lua
View file @
b64b5953
...
...
@@ -58,7 +58,5 @@ end
function
c77707070
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
1
then
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
expansions/script/c77729300.lua
View file @
b64b5953
...
...
@@ -3,7 +3,7 @@ local cm=_G["c"..m]
Duel
.
LoadScript
(
"c37564765.lua"
)
function
cm
.
initial_effect
(
c
)
Senya
.
AddSummonMusic
(
c
,
m
*
16
)
cm
.
AddAttackBGM
(
c
,
m
*
16
+
1
)
Senya
.
AddAttackSE
(
c
,
aux
.
Stringid
(
m
,
1
)
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
e2
:
SetCost
(
Senya
.
SelfDiscardCost
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SOUND
,
0
,
m
*
16
+
3
)
Duel
.
Hint
(
HINT_SOUND
,
0
,
aux
.
Stringid
(
m
,
3
)
)
local
turn
=
Duel
.
GetTurnCount
()
local
c
=
e
:
GetHandler
()
local
ex
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -43,7 +43,7 @@ function cm.initial_effect(c)
if
chk
==
0
then
return
tc
and
tc
:
IsAbleToHand
()
end
Duel
.
Hint
(
HINT_SOUND
,
0
,
m
*
16
+
2
)
Duel
.
Hint
(
HINT_SOUND
,
0
,
aux
.
Stringid
(
m
,
2
)
)
Duel
.
ConfirmCards
(
tp
,
tg
)
Duel
.
SetTargetCard
(
tg
)
if
tc
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
then
...
...
@@ -79,7 +79,7 @@ function cm.initial_effect(c)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SOUND
,
0
,
m
*
16
+
2
)
Duel
.
Hint
(
HINT_SOUND
,
0
,
aux
.
Stringid
(
m
,
2
)
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
)
e2
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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