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
9114d540
Commit
9114d540
authored
Oct 02, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
b796885f
Pipeline
#854
passed with stages
in 45 minutes and 47 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
expansions/script/c17031130.lua
expansions/script/c17031130.lua
+3
-3
expansions/script/c17035020.lua
expansions/script/c17035020.lua
+1
-1
expansions/script/c17035030.lua
expansions/script/c17035030.lua
+1
-1
expansions/script/c17035040.lua
expansions/script/c17035040.lua
+1
-1
expansions/script/c17035210.lua
expansions/script/c17035210.lua
+4
-4
expansions/script/c17035220.lua
expansions/script/c17035220.lua
+2
-2
No files found.
expansions/script/c17031130.lua
View file @
9114d540
...
@@ -22,7 +22,7 @@ function cm.tkcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -22,7 +22,7 @@ function cm.tkcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
170
50899
,
0
,
0x4011
,
1000
,
1000
,
3
,
RACE_BEAST
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
170
29902
,
0
,
0x4011
,
1000
,
1000
,
3
,
RACE_BEAST
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
1
then
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
1
then
...
@@ -31,14 +31,14 @@ function cm.tktg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,14 +31,14 @@ function cm.tktg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
tkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
170
50899
,
0
,
0x4011
,
1000
,
1000
,
3
,
RACE_BEAST
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
170
29902
,
0
,
0x4011
,
1000
,
1000
,
3
,
RACE_BEAST
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
then
return
end
local
cou
=
1
local
cou
=
1
if
e
:
GetHandler
():
GetFlagEffect
(
17031130
)
>
0
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
if
e
:
GetHandler
():
GetFlagEffect
(
17031130
)
>
0
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
17031130
,
1
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
17031130
,
1
))
then
cou
=
2
cou
=
2
end
end
for
i
=
1
,
cou
do
for
i
=
1
,
cou
do
local
token
=
Duel
.
CreateToken
(
tp
,
170
50899
)
local
token
=
Duel
.
CreateToken
(
tp
,
170
29902
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c17035020.lua
View file @
9114d540
...
@@ -60,7 +60,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
end
function
cm
.
rccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
rccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsCode
(
17035
0
00
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsCode
(
17035
3
00
)
end
end
function
cm
.
rctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
rctg
(
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/c17035030.lua
View file @
9114d540
...
@@ -50,7 +50,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -50,7 +50,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
cm
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsCode
(
17035
0
00
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsCode
(
17035
3
00
)
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
c
:
IsFaceup
()
return
c
:
IsFaceup
()
...
...
expansions/script/c17035040.lua
View file @
9114d540
...
@@ -46,7 +46,7 @@ function cm.hspcon(e,c)
...
@@ -46,7 +46,7 @@ function cm.hspcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
cm
.
hspfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
hspfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsCode
(
17035
0
00
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsCode
(
17035
3
00
)
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x7f5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x7f5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
expansions/script/c17035210.lua
View file @
9114d540
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
local
m
=
17035210
local
m
=
17035210
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
17035
20
0
)
aux
.
AddCodeList
(
c
,
17035
31
0
)
--pendulum summon
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
aux
.
EnablePendulumAttribute
(
c
)
--Cannot special summon
--Cannot special summon
...
@@ -60,7 +60,7 @@ function cm.initial_effect(c)
...
@@ -60,7 +60,7 @@ function cm.initial_effect(c)
e5
:
SetTarget
(
cm
.
splimit
)
e5
:
SetTarget
(
cm
.
splimit
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
cm
.
princess_name
=
17035
01
0
cm
.
princess_name
=
17035
32
0
function
cm
.
actcon
(
e
)
function
cm
.
actcon
(
e
)
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
()
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
()
end
end
...
@@ -82,7 +82,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,7 +82,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
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
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
...
@@ -90,7 +90,7 @@ end
...
@@ -90,7 +90,7 @@ end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
c
:
IsRelateToEffect
(
e
)
and
#
g
>
0
and
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
~=
0
and
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
g
:
Select
(
tp
,
1
,
2
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
2
,
nil
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
...
...
expansions/script/c17035220.lua
View file @
9114d540
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
local
m
=
17035220
local
m
=
17035220
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
17035
20
0
)
aux
.
AddCodeList
(
c
,
17035
31
0
)
--pendulum summon
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
aux
.
EnablePendulumAttribute
(
c
)
--Cannot special summon
--Cannot special summon
...
@@ -18,7 +18,7 @@ function cm.initial_effect(c)
...
@@ -18,7 +18,7 @@ function cm.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
cm
.
atktg
)
e1
:
SetTarget
(
cm
.
atktg
)
e1
:
SetValue
(
10
00
)
e1
:
SetValue
(
3
00
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--indes
--indes
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
...
...
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