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
xiaoye
ygopro-222DIY-cards
Commits
98a56531
Commit
98a56531
authored
Feb 15, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
b618c71f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/script/c1111005.lua
expansions/script/c1111005.lua
+1
-1
expansions/script/c114015.lua
expansions/script/c114015.lua
+4
-2
expansions/script/c33500120.lua
expansions/script/c33500120.lua
+1
-5
expansions/script/c33500216.lua
expansions/script/c33500216.lua
+2
-1
expansions/script/c33501017.lua
expansions/script/c33501017.lua
+1
-0
No files found.
expansions/script/c1111005.lua
View file @
98a56531
...
@@ -93,7 +93,7 @@ end
...
@@ -93,7 +93,7 @@ end
function
c1111005
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1111005
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAbleToDeckAsCost
()
end
if
chk
==
0
then
return
c
:
IsAbleToDeckAsCost
()
end
Duel
.
HintSelection
(
c
)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
)
)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_COST
)
end
end
--
--
...
...
expansions/script/c114015.lua
View file @
98a56531
...
@@ -8,7 +8,7 @@ function c114015.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c114015.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_DESTROY
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
114015
)
e1
:
SetCountLimit
(
1
,
114015
+
EFFECT_COUNT_CODE_DUEL
)
e1
:
SetCost
(
c114015
.
thcost
)
e1
:
SetCost
(
c114015
.
thcost
)
e1
:
SetTarget
(
c114015
.
thtg
)
e1
:
SetTarget
(
c114015
.
thtg
)
e1
:
SetOperation
(
c114015
.
thop
)
e1
:
SetOperation
(
c114015
.
thop
)
...
@@ -39,7 +39,7 @@ function c114015.counterfilter(c)
...
@@ -39,7 +39,7 @@ function c114015.counterfilter(c)
return
c
:
IsSetCard
(
0xca3
)
return
c
:
IsSetCard
(
0xca3
)
end
end
function
c114015
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c114015
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
114015
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
114015
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xca3
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
@@ -49,6 +49,8 @@ function c114015.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -49,6 +49,8 @@ function c114015.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetTarget
(
c114015
.
splimit
)
e1
:
SetTarget
(
c114015
.
splimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_PZONE
,
0
)
Duel
.
Destroy
(
g
,
REASON_COST
)
end
end
function
c114015
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c114015
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
not
c
:
IsSetCard
(
0xca3
)
return
not
c
:
IsSetCard
(
0xca3
)
...
...
expansions/script/c33500120.lua
View file @
98a56531
...
@@ -26,12 +26,8 @@ function cm.initial_effect(c)
...
@@ -26,12 +26,8 @@ function cm.initial_effect(c)
e11
:
SetOperation
(
cm
.
disop
)
e11
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e11
)
c
:
RegisterEffect
(
e11
)
end
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xa85
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
re
:
GetHandler
():
GetLocation
()
~=
LOCATION_ONFIELD
and
re
:
GetHandler
():
GetLocation
()
~=
LOCATION_ONFIELD
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
>
0
end
...
...
expansions/script/c33500216.lua
View file @
98a56531
...
@@ -20,6 +20,7 @@ function c33500216.initial_effect(c)
...
@@ -20,6 +20,7 @@ function c33500216.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
33500316
)
e2
:
SetTarget
(
c33500216
.
xyztarget
)
e2
:
SetTarget
(
c33500216
.
xyztarget
)
e2
:
SetOperation
(
c33500216
.
xyzop
)
e2
:
SetOperation
(
c33500216
.
xyzop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -82,7 +83,7 @@ function c33500216.distg(e,c)
...
@@ -82,7 +83,7 @@ function c33500216.distg(e,c)
end
end
function
c33500216
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33500216
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
e
:
GetLabel
()
local
ac
=
e
:
GetLabel
()
return
c
:
IsLevel
(
ac
)
return
re
:
GetHandler
()
:
IsLevel
(
ac
)
end
end
function
c33500216
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33500216
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
...
...
expansions/script/c33501017.lua
View file @
98a56531
...
@@ -26,6 +26,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -26,6 +26,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
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