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
50b9fe9f
Commit
50b9fe9f
authored
Jul 19, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
0b48380e
Pipeline
#14659
passed with stages
in 31 minutes and 5 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
15 deletions
+22
-15
expansions/pics/33200009.jpg
expansions/pics/33200009.jpg
+0
-0
expansions/script/c12808229.lua
expansions/script/c12808229.lua
+2
-2
expansions/script/c13257216.lua
expansions/script/c13257216.lua
+1
-0
expansions/script/c33200958.lua
expansions/script/c33200958.lua
+1
-1
expansions/script/c33712000.lua
expansions/script/c33712000.lua
+6
-0
expansions/script/c35700125.lua
expansions/script/c35700125.lua
+12
-12
No files found.
expansions/pics/33200009.jpg
View replaced file @
0b48380e
View file @
50b9fe9f
68.1 KB
|
W:
|
H:
69.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c12808229.lua
View file @
50b9fe9f
...
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
cm
.
descon
)
e
1
:
SetCost
(
cm
.
cost
)
e
4
:
SetCost
(
cm
.
des
cost
)
e4
:
SetTarget
(
cm
.
destg
)
e4
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e4
)
...
...
@@ -107,7 +107,7 @@ end
function
cm
.
descon
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
des
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
2
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
2
,
2
,
REASON_COST
)
end
...
...
expansions/script/c13257216.lua
View file @
50b9fe9f
...
...
@@ -65,6 +65,7 @@ end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
local
ct
=
tama
.
cosmicBattleship_getCoreLevel
(
ec
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c33200958.lua
View file @
50b9fe9f
...
...
@@ -68,7 +68,7 @@ end
--e2
function
c33200958
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x632a
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x632a
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
33200958
)
end
function
c33200958
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33200958
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_DECK
,
0
,
1
,
e
:
GetHandler
())
end
...
...
expansions/script/c33712000.lua
View file @
50b9fe9f
...
...
@@ -6,16 +6,22 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Debug
.
Message
(
Duel
.
GetTurnCount
())
return
Duel
.
GetTurnCount
()
>=
3
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
check1
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
local
check2
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
or
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
local
check3
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
local
check4
=
Duel
.
GetDecktopGroup
(
tp
,
15
):
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
15
and
Duel
.
GetDecktopGroup
(
1
-
tp
,
15
):
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
15
if
chk
==
0
then
return
(
check1
or
check2
or
check3
or
check4
)
and
Duel
.
GetLP
(
tp
)
>=
4000
end
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g1
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
nil
)
...
...
expansions/script/c35700125.lua
View file @
50b9fe9f
...
...
@@ -35,13 +35,13 @@ function cm.initial_effect(c)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCountLimit
(
1
,
m
+
1
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCondition
(
cm
.
thcon
)
e4
:
SetTarget
(
cm
.
thtg
)
e4
:
SetOperation
(
cm
.
thop
)
e4
:
SetCondition
(
cm
.
thcon
2
)
e4
:
SetTarget
(
cm
.
thtg
2
)
e4
:
SetOperation
(
cm
.
thop
2
)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
and
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
@@ -83,7 +83,7 @@ function cm.activate2(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
return
re
:
GetHandler
():
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
return
re
:
GetHandler
():
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
and
re
:
GetHandlerPlayer
()
~=
e
:
GetHandlerPlayer
()
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetOwner
()
...
...
@@ -94,7 +94,7 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
1
)
...
...
@@ -103,20 +103,20 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thcon
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
cm
.
thfilter
(
c
,
ec
)
function
cm
.
thfilter
2
(
c
,
ec
)
return
c
:
IsCode
(
35700103
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
function
cm
.
thtg
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
:
GetHandler
())
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
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