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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
6b0f6f61
Commit
6b0f6f61
authored
Aug 04, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EMERGENCY
parent
a25a9b29
Pipeline
#15347
passed with stages
in 31 minutes and 17 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12892007.lua
expansions/script/c12892007.lua
+0
-1
expansions/script/c13257213.lua
expansions/script/c13257213.lua
+2
-2
expansions/script/c13257246.lua
expansions/script/c13257246.lua
+2
-1
expansions/script/c13257317.lua
expansions/script/c13257317.lua
+1
-1
expansions/script/c13257318.lua
expansions/script/c13257318.lua
+1
-1
expansions/script/c13257359.lua
expansions/script/c13257359.lua
+2
-2
No files found.
expansions/222DIY.cdb
View file @
6b0f6f61
No preview for this file type
expansions/script/c12892007.lua
View file @
6b0f6f61
...
...
@@ -24,7 +24,6 @@ function c12892007.initial_effect(c)
c
:
RegisterEffect
(
e3
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCondition
(
cm
.
damcon
)
e5
:
SetCode
(
EFFECT_CHANGE_BATTLE_DAMAGE
)
e5
:
SetValue
(
aux
.
ChangeBattleDamage
(
1
,
DOUBLE_DAMAGE
))
c
:
RegisterEffect
(
e5
)
...
...
expansions/script/c13257213.lua
View file @
6b0f6f61
...
...
@@ -68,7 +68,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
Hint
(
11
,
0
,
aux
.
Stringid
(
g
:
GetFirst
():
GetCode
(),
4
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
g
:
GetFirst
():
GetCode
(),
4
))
end
end
function
cm
.
chkfilter
(
c
,
tp
)
...
...
@@ -102,7 +102,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
tc
=
g
:
GetFirst
()
Duel
.
Hint
(
11
,
0
,
aux
.
Stringid
(
tc
:
GetCode
(),
4
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
tc
:
GetCode
(),
4
))
local
tep
=
tc
:
GetControler
()
local
PCe
=
tama
.
getTargetTable
(
tc
,
"deck_equip"
)
if
PCe
and
cm
.
canActivate
(
tc
,
PCe
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
then
...
...
expansions/script/c13257246.lua
View file @
6b0f6f61
...
...
@@ -38,7 +38,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
end
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
IsOnField
()
and
re
:
GetHandler
():
IsFaceup
()
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
local
rc
=
re
:
GetHandler
()
return
rc
:
IsOnField
()
and
rc
:
IsControler
(
1
-
tp
)
and
rc
:
IsFaceup
()
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
(
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)))
end
function
cm
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c13257317.lua
View file @
6b0f6f61
...
...
@@ -38,6 +38,6 @@ end
function
cm
.
efilter1
(
e
,
te
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
return
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
and
not
(
g
==
nil
or
{
g
:
IsContains
(
e
:
GetHandler
():
GetEquipTarget
())})[
1
]
return
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
and
not
(
g
~=
nil
and
g
:
IsContains
(
ec
))
--return te:GetOwnerPlayer()~=e:GetHandlerPlayer() and not te:IsHasProperty(EFFECT_FLAG_CARD_TARGET)
end
expansions/script/c13257318.lua
View file @
6b0f6f61
...
...
@@ -44,6 +44,6 @@ end
function
cm
.
efilter1
(
e
,
te
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
return
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
and
(
g
and
g
:
IsContains
(
ec
))
return
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
and
(
g
~=
nil
and
g
:
IsContains
(
ec
))
--return te:GetOwnerPlayer()~=e:GetHandlerPlayer() and not te:IsHasProperty(EFFECT_FLAG_CARD_TARGET)
end
expansions/script/c13257359.lua
View file @
6b0f6f61
...
...
@@ -108,7 +108,7 @@ function cm.pctg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
local
ct1
=
0
--for power capsule
if
eg
then
ct1
=
eg
:
GetCount
(
)
end
if
eg
~=
nil
then
ct1
=
eg
:
FilterCount
(
Card
.
IsPreviousLocation
,
nil
,
LOCATION_MZONE
)
end
local
t1
=
ct1
>
0
local
op
=
0
local
m1
=
{}
...
...
@@ -134,5 +134,5 @@ function cm.pcop(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
function
cm
.
bgmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
11
,
0
,
aux
.
Stringid
(
m
,
7
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
7
))
end
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