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
57c7d598
Commit
57c7d598
authored
Sep 17, 2022
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing
parent
33bbe4a1
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
29 additions
and
24 deletions
+29
-24
expansions/pics/12098015.jpg
expansions/pics/12098015.jpg
+0
-0
expansions/script/c40008453.lua
expansions/script/c40008453.lua
+1
-1
expansions/script/c40008457.lua
expansions/script/c40008457.lua
+1
-1
expansions/script/c40008460.lua
expansions/script/c40008460.lua
+1
-1
expansions/script/c40008467.lua
expansions/script/c40008467.lua
+1
-1
expansions/script/c51310111.lua
expansions/script/c51310111.lua
+1
-1
expansions/script/c51312001.lua
expansions/script/c51312001.lua
+16
-14
expansions/script/c51417013.lua
expansions/script/c51417013.lua
+1
-1
expansions/script/c51417035.lua
expansions/script/c51417035.lua
+4
-1
expansions/script/c51417110.lua
expansions/script/c51417110.lua
+1
-1
expansions/script/c51417125.lua
expansions/script/c51417125.lua
+2
-2
No files found.
expansions/pics/12098015.jpg
View replaced file @
33bbe4a1
View file @
57c7d598
30.8 KB
|
W:
|
H:
58.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c40008453.lua
View file @
57c7d598
...
...
@@ -9,7 +9,7 @@ end
function
cm
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep2
(
c
,
cm
.
mfilter
,
2
,
63
,
fals
e
)
aux
.
AddFusionProcFunRep2
(
c
,
cm
.
mfilter
,
2
,
63
,
tru
e
)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c40008457.lua
View file @
57c7d598
...
...
@@ -9,7 +9,7 @@ end
function
cm
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep2
(
c
,
cm
.
mfilter
,
2
,
63
,
fals
e
)
aux
.
AddFusionProcFunRep2
(
c
,
cm
.
mfilter
,
2
,
63
,
tru
e
)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c40008460.lua
View file @
57c7d598
...
...
@@ -9,7 +9,7 @@ end
function
cm
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep2
(
c
,
cm
.
mfilter
,
2
,
63
,
fals
e
)
aux
.
AddFusionProcFunRep2
(
c
,
cm
.
mfilter
,
2
,
63
,
tru
e
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c40008467.lua
View file @
57c7d598
...
...
@@ -9,7 +9,7 @@ end
function
cm
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep2
(
c
,
cm
.
mfilter
,
2
,
63
,
fals
e
)
aux
.
AddFusionProcFunRep2
(
c
,
cm
.
mfilter
,
2
,
63
,
tru
e
)
--banish
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c51310111.lua
View file @
57c7d598
...
...
@@ -36,7 +36,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCountLimit
(
1
,
m
+
1
)
e3
:
SetCondition
(
cm
.
spcon
)
e3
:
SetTarget
(
cm
.
sptg
)
e3
:
SetOperation
(
cm
.
spop
)
...
...
expansions/script/c51312001.lua
View file @
57c7d598
...
...
@@ -27,10 +27,20 @@ function cm.initial_effect(c)
e3
:
SetTarget
(
cm
.
target
)
e3
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e3
)
--event
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetOperation
(
cm
.
regop
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e5
)
--return
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e8
:
SetCategory
(
CATEGORY_TO
HAND
)
e8
:
SetCategory
(
CATEGORY_TO
DECK
)
e8
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e8
:
SetRange
(
LOCATION_MZONE
)
e8
:
SetCountLimit
(
1
)
...
...
@@ -39,19 +49,6 @@ function cm.initial_effect(c)
e8
:
SetTarget
(
cm
.
rettg
)
e8
:
SetOperation
(
cm
.
retop
)
c
:
RegisterEffect
(
e8
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge1
:
SetLabel
(
m
)
ge1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ge1
:
SetOperation
(
aux
.
sumreg
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
end
cm
.
toss_coin
=
true
--tohand
...
...
@@ -123,6 +120,11 @@ function cm.aclimit(e,re,tp)
local
tc
=
e
:
GetLabelObject
()
return
rc
:
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
end
--event
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
--return
function
cm
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
~=
0
...
...
expansions/script/c51417013.lua
View file @
57c7d598
...
...
@@ -36,7 +36,7 @@ function cm.tgcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
function
cm
.
tgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
e
:
GetHandler
()):
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
sc
)
...
...
expansions/script/c51417035.lua
View file @
57c7d598
...
...
@@ -47,7 +47,10 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
--index
...
...
expansions/script/c51417110.lua
View file @
57c7d598
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCountLimit
(
2
,
m
)
e1
:
SetCost
(
cm
.
thcost
)
e1
:
SetCondition
(
cm
.
thcon
)
e1
:
SetTarget
(
cm
.
thtg
)
...
...
expansions/script/c51417125.lua
View file @
57c7d598
...
...
@@ -10,7 +10,7 @@ function cm.initial_effect(c)
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
TODECK
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
...
...
@@ -34,7 +34,7 @@ end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
hg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleTo
Deck
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
local
hg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleTo
Hand
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
if
#
g
>
0
and
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
~=
0
and
#
hg
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
hg
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
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