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
Ai
ygopro-222DIY-cards
Commits
67049e4d
Commit
67049e4d
authored
Jun 24, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polo
parent
785335e5
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
5 additions
and
48 deletions
+5
-48
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16104208.lua
expansions/script/c16104208.lua
+5
-1
expansions/script/c65010314.lua
expansions/script/c65010314.lua
+0
-3
expansions/script/c65010315.lua
expansions/script/c65010315.lua
+0
-3
expansions/script/c65010316.lua
expansions/script/c65010316.lua
+0
-1
expansions/script/c960010.lua
expansions/script/c960010.lua
+0
-1
expansions/script/c960011.lua
expansions/script/c960011.lua
+0
-10
expansions/script/c960015.lua
expansions/script/c960015.lua
+0
-10
expansions/script/c960016.lua
expansions/script/c960016.lua
+0
-1
expansions/script/c960017.lua
expansions/script/c960017.lua
+0
-9
expansions/script/c960018.lua
expansions/script/c960018.lua
+0
-9
No files found.
expansions/222DIY.cdb
View file @
67049e4d
No preview for this file type
expansions/script/c16104208.lua
View file @
67049e4d
...
...
@@ -8,6 +8,7 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCondition
(
cm
.
sucon
)
e1
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e1
)
--a d A
...
...
@@ -15,7 +16,10 @@ function cm.initial_effect(c)
local
e3
=
REIKAI
.
CHRUCH_KNIGHT_ADV
(
c
,
cm
.
gacon
,
cm
.
gatg
,{
1
,
m
},
cm
.
gaop
)
end
function
cm
.
des
(
c
)
return
not
c
:
IsRace
(
RACE_WARRIOR
)
return
not
(
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsFaceup
())
end
function
cm
.
sucon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c65010314.lua
View file @
67049e4d
...
...
@@ -93,7 +93,6 @@ function c65010314.operation(e,tp,eg,ep,ev,re,r,rp)
else
c
:
CancelToGrave
(
false
)
end
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
65010314
,
0
))
end
function
c65010314
.
defcon
(
e
)
local
eq
=
e
:
GetHandler
():
GetEquipTarget
()
...
...
@@ -117,7 +116,6 @@ function c65010314.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
bc
:
GetAttack
()
/
2
)
c
:
RegisterEffect
(
e1
)
end
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
65010314
,
1
))
end
function
c65010314
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
():
GetEquipTarget
()
...
...
@@ -137,5 +135,4 @@ function c65010314.desop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c65010314
.
dfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
ct
=
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
ct
*
500
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
65010314
,
1
))
end
\ No newline at end of file
expansions/script/c65010315.lua
View file @
67049e4d
...
...
@@ -135,7 +135,4 @@ function c65010315.desop(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
ct
*
500
,
REASON_EFFECT
)
end
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
65010315
,
1
))
end
expansions/script/c65010316.lua
View file @
67049e4d
...
...
@@ -103,7 +103,6 @@ function c65010316.operation(e,tp,eg,ep,ev,re,r,rp)
else
c
:
CancelToGrave
(
false
)
end
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
65010316
,
0
))
end
function
c65010316
.
discon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
...
...
expansions/script/c960010.lua
View file @
67049e4d
...
...
@@ -70,7 +70,6 @@ function c960010.activate(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetCode
(
EFFECT_SET_DEFENSE
)
token
:
RegisterEffect
(
e4
)
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
960010
,
0
))
Duel
.
Recover
(
tp
,
500
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c960011.lua
View file @
67049e4d
...
...
@@ -41,15 +41,6 @@ function c960011.initial_effect(c)
e2
:
SetTarget
(
c960011
.
sptg
)
e2
:
SetOperation
(
c960011
.
spop
)
c
:
RegisterEffect
(
e2
)
--spsummon bgm
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e8
:
SetOperation
(
c960011
.
sumsuc
)
c
:
RegisterEffect
(
e8
)
end
function
c960011
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
960011
,
0
))
end
function
c960011
.
matfilter
(
c
)
return
(
c
:
IsLinkType
(
TYPE_NORMAL
)
and
c
:
IsLinkSetCard
(
0xbb1
))
or
c
:
IsLinkCode
(
960001
)
...
...
@@ -81,7 +72,6 @@ function c960011.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c960011
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
960011
,
1
))
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
g
:
GetFirst
():
CompleteProcedure
()
end
...
...
expansions/script/c960015.lua
View file @
67049e4d
...
...
@@ -45,15 +45,6 @@ function c960015.initial_effect(c)
e1
:
SetOperation
(
c960015
.
thop
)
c
:
RegisterEffect
(
e1
)
Duel
.
AddCustomActivityCounter
(
960015
,
ACTIVITY_SPSUMMON
,
c960015
.
counterfilter
)
--spsummon bgm
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e8
:
SetOperation
(
c960015
.
sumsuc
)
c
:
RegisterEffect
(
e8
)
end
function
c960015
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
960015
,
1
))
end
function
c960015
.
lcheck
(
g
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0xbb1
)
...
...
@@ -105,7 +96,6 @@ end
function
c960015
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
960015
,
3
))
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c960016.lua
View file @
67049e4d
...
...
@@ -66,7 +66,6 @@ end
function
c960016
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_ONFIELD
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
960016
,
1
))
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c960017.lua
View file @
67049e4d
...
...
@@ -20,15 +20,6 @@ function c960017.initial_effect(c)
local
e7
=
e6
:
Clone
()
e7
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e7
)
--spsummon bgm
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e8
:
SetOperation
(
c960017
.
sumsuc
)
c
:
RegisterEffect
(
e8
)
end
function
c960017
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
960017
,
0
))
end
function
c960017
.
adval
(
e
,
c
)
return
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_HAND
,
0
)
*
1000
...
...
expansions/script/c960018.lua
View file @
67049e4d
...
...
@@ -26,15 +26,6 @@ function c960018.initial_effect(c)
e1
:
SetTarget
(
c960018
.
atktg
)
e1
:
SetOperation
(
c960018
.
atkop
)
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
(
c960018
.
sumsuc
)
c
:
RegisterEffect
(
e8
)
end
function
c960018
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
960018
,
0
))
end
function
c960018
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
...
...
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