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
Soulgamer
ygopro-222DIY-cards
Commits
35117251
Commit
35117251
authored
Apr 26, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sign out
parent
263df68f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16400030.lua
expansions/script/c16400030.lua
+2
-2
expansions/script/c20100000.lua
expansions/script/c20100000.lua
+1
-0
expansions/script/c20100508.lua
expansions/script/c20100508.lua
+1
-1
expansions/script/c20100512.lua
expansions/script/c20100512.lua
+2
-2
No files found.
expansions/222DIY.cdb
View file @
35117251
No preview for this file type
expansions/script/c16400030.lua
View file @
35117251
...
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCountLimit
(
1
,
m
+
100
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -47,7 +47,7 @@ function cm.indcon(e)
return
e
:
GetHandler
():
GetEquipCount
()
>
0
end
function
cm
.
copyfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDefenseAbove
(
0
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDefenseAbove
(
0
)
and
c
:
IsSetCard
(
0xce0
)
end
function
cm
.
copytg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c20100000.lua
View file @
35117251
...
...
@@ -1207,6 +1207,7 @@ end
function
C9
.
Komachi_Sp_Con
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
if
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_EXTRA
,
0
)
~=
0
then
return
false
end
if
c
:
IsLocation
(
LOCATION_GRAVE
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
20100514
)
then
return
false
end
local
dec
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
20100500
)
if
dec
then
...
...
expansions/script/c20100508.lua
View file @
35117251
...
...
@@ -39,7 +39,7 @@ function cm.con(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToBattle
()
then
return
false
end
local
bt
=
c
:
GetBattleTarget
()
if
not
bt
then
return
false
or
bt
:
IsCode
(
20100500
)
end
if
not
bt
or
bt
:
IsCode
(
20100500
)
then
return
false
end
return
bt
:
IsRelateToBattle
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
...
...
expansions/script/c20100512.lua
View file @
35117251
...
...
@@ -18,7 +18,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCountLimit
(
1
,
m
+
1
)
e2
:
SetTarget
(
cm
.
tg
)
e2
:
SetOperation
(
cm
.
op
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -32,7 +32,7 @@ end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsCode
(
20100500
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsCanBeEffectTarget
(
e
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExisting
MatchingCard
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
20100500
)
end
if
chk
==
0
then
return
Duel
.
IsExisting
Target
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
20100500
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
sh
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsCode
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
20100500
)
local
x
,
y
=
C9
.
GetCoordinate
(
sh
:
GetFirst
(),
tp
)
...
...
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