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
e1be831e
Commit
e1be831e
authored
Sep 06, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
069aa9da
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
expansions/script/c16150017.lua
expansions/script/c16150017.lua
+1
-1
expansions/script/c33200261.lua
expansions/script/c33200261.lua
+1
-1
expansions/script/c65010008.lua
expansions/script/c65010008.lua
+1
-1
expansions/script/c81044011.lua
expansions/script/c81044011.lua
+4
-1
No files found.
expansions/script/c16150017.lua
View file @
e1be831e
...
...
@@ -84,7 +84,7 @@ function cm.repfilter(c,tp)
end
function
cm
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
repfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
repfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
local
g
=
eg
:
Filter
(
cm
.
repfilter
,
nil
,
tp
)
local
ct
=
g
:
GetCount
()
...
...
expansions/script/c33200261.lua
View file @
e1be831e
...
...
@@ -78,7 +78,7 @@ function c33200261.efilter(e,te)
end
--e2
function
c33200261
.
ig
filter
(
c
)
function
c33200261
.
gi
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33200250
)
end
function
c33200261
.
igtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c65010008.lua
View file @
e1be831e
...
...
@@ -30,7 +30,7 @@ function cm.con(e,tp)
return
not
Duel
.
IsExistingMatchingCard
(
f
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
cfilter
(
c
,
e
,
tp
)
if
not
c
:
IsFaceup
(
)
then
return
false
end
if
not
(
c
:
IsCode
(
65010001
)
or
(
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
))
)
then
return
false
end
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
else
return
true
end
...
...
expansions/script/c81044011.lua
View file @
e1be831e
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetRange
(
LOCATION_
M
ZONE
)
e1
:
SetRange
(
LOCATION_
F
ZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsType
,
TYPE_EFFECT
))
e1
:
SetValue
(
-
1000
)
...
...
@@ -80,6 +80,7 @@ end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_HAND
)
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
...
...
@@ -99,6 +100,7 @@ function cm.slcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
slfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
slfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
cm
.
sltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
@@ -119,6 +121,7 @@ function cm.remcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
rmfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
rmfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
cm
.
remfilter
(
c
)
return
c
:
IsType
(
TYPE_EFFECT
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
...
...
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