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
64d4241d
Commit
64d4241d
authored
Apr 12, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
95567d56
Pipeline
#2912
passed with stages
in 26 minutes and 58 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
36 deletions
+15
-36
expansions/pics/16101080.jpg
expansions/pics/16101080.jpg
+0
-0
expansions/script/c12029035.lua
expansions/script/c12029035.lua
+8
-16
expansions/script/c16107106.lua
expansions/script/c16107106.lua
+2
-2
expansions/script/c16107107.lua
expansions/script/c16107107.lua
+1
-14
expansions/script/c16107108.lua
expansions/script/c16107108.lua
+1
-1
expansions/script/c16107110.lua
expansions/script/c16107110.lua
+1
-0
expansions/script/c16107113.lua
expansions/script/c16107113.lua
+0
-1
expansions/script/c16107114.lua
expansions/script/c16107114.lua
+2
-2
No files found.
expansions/pics/16101080.jpg
View replaced file @
95567d56
View file @
64d4241d
124 KB
|
W:
|
H:
114 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c12029035.lua
View file @
64d4241d
...
...
@@ -31,22 +31,14 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
actop
)
e4
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e4
)
local
e11
=
Effect
.
CreateEffect
(
c
)
e11
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e11
:
SetRange
(
LOCATION_MZONE
)
e11
:
SetCode
(
EVENT_MOVE
)
e11
:
SetOperation
(
cm
.
op
)
c
:
RegisterEffect
(
e1
)
local
e12
=
e11
:
Clone
()
e12
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e12
)
local
e13
=
e11
:
Clone
()
e13
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e13
)
local
e14
=
e11
:
Clone
()
e14
:
SetCode
(
EVENT_FLIP_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e14
)
--skip
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetCode
(
EFFECT_SKIP_M1
)
c
:
RegisterEffect
(
e2
)
--special summon
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c16107106.lua
View file @
64d4241d
...
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
end
function
cm
.
aclimit
(
e
,
re
,
tp
)
local
rc
=
re
:
GetHandler
()
return
(
rc
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
rc
:
IsComplexReason
(
REASON_DESTROY
,
true
,
REASON_EFFECT
,
REASON_BATTLE
))
and
not
rc
:
IsControler
(
tp
)
return
(
rc
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
rc
:
IsComplexReason
(
REASON_DESTROY
,
true
,
REASON_EFFECT
,
REASON_BATTLE
))
and
not
rc
:
IsControler
(
e
:
GetHandlerPlayer
()
)
end
--e3
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -66,7 +66,7 @@ function cm.remop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
local
zg
=
c
:
GetOverlayGroup
():
Filter
(
Card
.
IsAttribute
,
nil
,
ATTRIBUTE_FIRE
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
eqfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
nil
,
tp
)
if
#
zg
>
0
and
#
tg
>
0
then
if
#
zg
>
0
and
#
tg
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16107106
,
0
))
then
local
tc
=
tg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
...
...
expansions/script/c16107107.lua
View file @
64d4241d
...
...
@@ -38,19 +38,6 @@ function cm.initial_effect(c)
local
e6
=
e4
:
Clone
()
e6
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
c
:
RegisterEffect
(
e6
)
--cannot be target
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e5
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e5
:
SetCondition
(
cm
.
econ
)
e5
:
SetValue
(
aux
.
tgoval
)
c
:
RegisterEffect
(
e5
)
local
e7
=
e5
:
Clone
()
e7
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
c
:
RegisterEffect
(
e7
)
end
function
cm
.
econ
(
e
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
...
...
@@ -79,7 +66,7 @@ function cm.remop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
local
zg
=
c
:
GetOverlayGroup
():
Filter
(
Card
.
IsAttribute
,
nil
,
ATTRIBUTE_WIND
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
eqfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
nil
,
tp
)
if
#
zg
>
0
and
#
tg
>
0
then
if
#
zg
>
0
and
#
tg
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16107106
,
0
))
then
local
tc
=
tg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
...
...
expansions/script/c16107108.lua
View file @
64d4241d
...
...
@@ -69,7 +69,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
mg
=
c
:
GetOverlayGroup
()
local
res
=
mg
:
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_EARTH
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
eqfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
nil
,
tp
)
if
res
and
#
tg
>
0
then
if
res
and
#
tg
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16107106
,
0
))
then
local
tc
=
tg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
...
...
expansions/script/c16107110.lua
View file @
64d4241d
...
...
@@ -24,6 +24,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTarget
(
cm
.
target
)
e3
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c16107113.lua
View file @
64d4241d
...
...
@@ -19,7 +19,6 @@ function cm.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
aux
.
exccon
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
...
...
expansions/script/c16107114.lua
View file @
64d4241d
...
...
@@ -39,14 +39,14 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
flag
=
0
if
chk
==
0
then
if
c
:
IsLocation
(
LOCATION_GRAVE
)
and
Duel
.
GetMatchingGroupCount
(
cm
.
gravefilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
if
c
:
IsLocation
(
LOCATION_GRAVE
)
and
Duel
.
GetMatchingGroupCount
(
cm
.
gravefilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
flag
=
1
return
true
else
return
true
end
end
if
flag
==
0
then
if
flag
==
1
then
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
c
:
CreateEffectRelation
(
e
)
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