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
adb72292
Commit
adb72292
authored
Nov 05, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
03c0f740
Pipeline
#6678
failed with stages
in 29 minutes and 49 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
17 deletions
+10
-17
expansions/script/c16110000.lua
expansions/script/c16110000.lua
+1
-13
expansions/script/c16110001.lua
expansions/script/c16110001.lua
+3
-2
expansions/script/c16110003.lua
expansions/script/c16110003.lua
+1
-0
expansions/script/c16110016.lua
expansions/script/c16110016.lua
+1
-0
expansions/script/c16110019.lua
expansions/script/c16110019.lua
+1
-0
expansions/script/c16110020.lua
expansions/script/c16110020.lua
+1
-0
expansions/script/c16110023.lua
expansions/script/c16110023.lua
+1
-1
expansions/script/c85402430.lua
expansions/script/c85402430.lua
+1
-1
No files found.
expansions/script/c16110000.lua
View file @
adb72292
...
@@ -6,6 +6,7 @@ function cm.initial_effect(c)
...
@@ -6,6 +6,7 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
cm
.
descon
)
e1
:
SetCondition
(
cm
.
descon
)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetTarget
(
cm
.
destg
)
...
@@ -27,7 +28,6 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,7 +28,6 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SELECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SELECT
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
4
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -41,7 +41,6 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,6 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_HAND
)
e4
:
SetRange
(
LOCATION_HAND
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCost
(
cm
.
sumcost
)
e4
:
SetCondition
(
cm
.
sumcon
)
e4
:
SetCondition
(
cm
.
sumcon
)
e4
:
SetTarget
(
cm
.
sumtg
)
e4
:
SetTarget
(
cm
.
sumtg
)
e4
:
SetOperation
(
cm
.
sumop
)
e4
:
SetOperation
(
cm
.
sumop
)
...
@@ -49,17 +48,6 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,17 +48,6 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
end
end
end
end
function
cm
.
tdfilter
(
c
)
return
c
:
IsSetCard
(
0xcc5
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToDeckAsCost
()
and
c
:
IsFaceup
()
end
function
cm
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
tdfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>
1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
tg1
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
2
,
2
)
Duel
.
SendtoDeck
(
tg1
,
nil
,
2
,
REASON_EFFECT
)
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPublic
()
return
e
:
GetHandler
():
IsPublic
()
end
end
...
...
expansions/script/c16110001.lua
View file @
adb72292
...
@@ -47,7 +47,7 @@ function rkst.advop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -47,7 +47,7 @@ function rkst.advop(e,tp,eg,ep,ev,re,r,rp,c)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
local
res1
=
false
local
res1
=
false
local
mg
=
Duel
.
GetMatchingGroup
(
rkst
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
rkst
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
res
=
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
local
res
=
c
:
IsLevelAbove
(
7
)
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
16110026
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
16110026
)
then
res1
=
Duel
.
IsPlayerCanDiscardDeckAsCost
(
tp
,
1
)
res1
=
Duel
.
IsPlayerCanDiscardDeckAsCost
(
tp
,
1
)
end
end
...
@@ -86,6 +86,7 @@ function cm.initial_effect(c)
...
@@ -86,6 +86,7 @@ function cm.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_TOGRAVE
)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_TOGRAVE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetTarget
(
cm
.
destg
)
...
@@ -115,7 +116,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -115,7 +116,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
c
:
IsAttackAbove
(
2400
)
and
c
:
IsDefense
(
1000
)
and
c
:
IsAbleToHand
()
return
((
c
:
IsAttack
(
2400
)
and
c
:
IsDefense
(
1000
))
or
(
c
:
IsAttack
(
2800
)
and
c
:
IsDefense
(
1000
))
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
expansions/script/c16110003.lua
View file @
adb72292
...
@@ -10,6 +10,7 @@ function cm.initial_effect(c)
...
@@ -10,6 +10,7 @@ function cm.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetTarget
(
cm
.
destg
)
...
...
expansions/script/c16110016.lua
View file @
adb72292
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_DESTROY
)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetTarget
(
cm
.
destg
)
...
...
expansions/script/c16110019.lua
View file @
adb72292
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_ATKCHANGE
)
e3
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetTarget
(
cm
.
destg
)
...
...
expansions/script/c16110020.lua
View file @
adb72292
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_DAMAGE
)
e3
:
SetCategory
(
CATEGORY_DAMAGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetOperation
(
cm
.
desop
)
e3
:
SetOperation
(
cm
.
desop
)
...
...
expansions/script/c16110023.lua
View file @
adb72292
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
e1
:
SetOperation
(
cm
.
operation
)
...
...
expansions/script/c85402430.lua
View file @
adb72292
...
@@ -94,7 +94,7 @@ end
...
@@ -94,7 +94,7 @@ end
function
c85402430
.
sprcon
(
e
,
c
)
function
c85402430
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c85402430
.
fl
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
GetFlagEffect
(
tp
,
85402430
)
==
0
return
Duel
.
IsExistingMatchingCard
(
c85402430
.
fl
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
GetFlagEffect
(
tp
,
85402430
)
==
0
and
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
end
end
function
c85402430
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c85402430
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
...
...
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