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
94efbb17
Commit
94efbb17
authored
Sep 15, 2022
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
addc10e7
Pipeline
#16672
passed with stages
in 35 minutes and 32 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
26 deletions
+32
-26
expansions/script/c10701081.lua
expansions/script/c10701081.lua
+3
-3
expansions/script/c10701101.lua
expansions/script/c10701101.lua
+1
-1
expansions/script/c10701171.lua
expansions/script/c10701171.lua
+1
-1
expansions/script/c10701211.lua
expansions/script/c10701211.lua
+5
-0
expansions/script/c17060810.lua
expansions/script/c17060810.lua
+14
-14
expansions/script/c30700007.lua
expansions/script/c30700007.lua
+2
-1
expansions/script/c30700008.lua
expansions/script/c30700008.lua
+1
-0
expansions/script/c33401011.lua
expansions/script/c33401011.lua
+4
-5
expansions/script/c51300039.lua
expansions/script/c51300039.lua
+1
-1
No files found.
expansions/script/c10701081.lua
View file @
94efbb17
...
...
@@ -8,10 +8,10 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetProperty
(
EFFECT_FLAG_D
AMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e1
:
SetProperty
(
EFFECT_FLAG_D
ELAY
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
cm
.
setcon
)
e1
:
SetTarget
(
cm
.
settg
)
e1
:
SetOperation
(
cm
.
setop
)
...
...
@@ -23,7 +23,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
m
+
1
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCondition
(
cm
.
spcon
)
e3
:
SetTarget
(
cm
.
sptg
)
e3
:
SetOperation
(
cm
.
spop
)
...
...
expansions/script/c10701101.lua
View file @
94efbb17
...
...
@@ -94,7 +94,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetCode
(
92345028
)
e3
:
SetCode
(
m
)
e3
:
SetTargetRange
(
1
,
0
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e3
,
tp
)
...
...
expansions/script/c10701171.lua
View file @
94efbb17
...
...
@@ -75,7 +75,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
aclimit
(
e
,
re
,
tp
)
local
rc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
r
c
:
IsRace
(
RACE_ZOMBIE
)
end
--hand
function
cm
.
handcon
(
e
)
...
...
expansions/script/c10701211.lua
View file @
94efbb17
...
...
@@ -19,6 +19,7 @@ function cm.initial_effect(c)
e5
:
SetCategory
(
CATEGORY_TOGRAVE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetCondition
(
cm
.
tgcon
)
e5
:
SetTarget
(
cm
.
tgtg
)
e5
:
SetOperation
(
cm
.
tgop
)
c
:
RegisterEffect
(
e5
)
...
...
@@ -46,6 +47,10 @@ function cm.indop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
--tograve
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
expansions/script/c17060810.lua
View file @
94efbb17
...
...
@@ -35,8 +35,7 @@ function cm.initial_effect(c)
--disable
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_DISABLE
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_PZONE
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetCountLimit
(
1
)
...
...
@@ -53,17 +52,18 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e5
)
--control
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
Set
Category
(
CATEGORY_CONTROL
)
e6
:
Set
Type
(
EFFECT_TYPE_IGNITIO
N
)
e6
:
Set
Type
(
EFFECT_TYPE_QUICK_O
)
e6
:
Set
Code
(
EVENT_FREE_CHAI
N
)
e6
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e6
:
SetCountLimit
(
1
)
e6
:
SetTarget
(
cm
.
cttg
)
e6
:
SetOperation
(
cm
.
ctop
)
c
:
RegisterEffect
(
e6
)
end
function
cm
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x
aa
)
return
not
c
:
IsSetCard
(
0x
37f6
)
end
function
cm
.
sprfilter
(
c
)
return
c
:
IsSetCard
(
0x37f6
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsReleasable
()
...
...
@@ -121,24 +121,24 @@ end
function
cm
.
target
(
e
,
c
)
return
c
~=
e
:
GetHandler
()
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
function
cm
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsControlerCanBeChanged
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g
,
1
,
0
,
0
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
function
cm
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
GetControl
(
tc
,
tp
,
PHASE_END
,
1
)
end
if
not
tc
:
IsAttribute
(
ATTRIBUTE_DARK
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_ATTRIBUTE
)
e1
:
SetValue
(
ATTRIBUTE_DARK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_
PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_
DISABLE
)
tc
:
RegisterEffect
(
e1
)
end
end
expansions/script/c30700007.lua
View file @
94efbb17
...
...
@@ -7,6 +7,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetTarget
(
cm
.
thtg
)
e1
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -87,7 +88,7 @@ function cm.tgfilter(c)
return
c
:
IsCode
(
30700010
)
and
c
:
IsAbleToGrave
()
end
function
cm
.
thtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
...
...
expansions/script/c30700008.lua
View file @
94efbb17
...
...
@@ -7,6 +7,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetTarget
(
cm
.
thtg
)
e1
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c33401011.lua
View file @
94efbb17
...
...
@@ -35,7 +35,7 @@ function cm.initial_effect(c)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e8
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e8
:
SetCode
(
EVENT_DESTROYED
)
e8
:
SetCountLimit
(
1
,
m
)
e8
:
SetCountLimit
(
1
,
m
+
20000
)
e8
:
SetTarget
(
cm
.
srtg
)
e8
:
SetOperation
(
cm
.
srop
)
c
:
RegisterEffect
(
e8
)
...
...
@@ -61,7 +61,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -87,12 +87,11 @@ function cm.spfilter(c,e,tp)
end
function
cm
.
spfilter2
(
c
,
e
,
tp
,
code
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x9341
)
and
c
:
IsLevelBelow
(
8
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsLevelBelow
(
8
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
not
c
:
IsCode
(
code
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
eg
:
IsExists
(
cm
.
spfilter
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
spfilter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
eg
:
FilterSelect
(
tp
,
cm
.
spfilter
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetTargetCard
(
g
)
...
...
expansions/script/c51300039.lua
View file @
94efbb17
...
...
@@ -219,7 +219,7 @@ function youfu.excon1(e,tp,eg,ep,ev,re,r,rp)
return
re
and
re
:
GetHandler
():
IsCode
(
10701101
,
10701141
)
end
function
youfu
.
excon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
GetHandler
():
IsCode
(
10701211
)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
and
re
and
re
:
GetHandler
():
IsCode
(
10701211
)
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