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
98623a88
Commit
98623a88
authored
Jun 02, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
62a0d43e
Pipeline
#13379
passed with stages
in 29 minutes and 55 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
expansions/script/c16114200.lua
expansions/script/c16114200.lua
+0
-2
expansions/script/c92369039.lua
expansions/script/c92369039.lua
+5
-2
expansions/script/c92369048.lua
expansions/script/c92369048.lua
+6
-3
No files found.
expansions/script/c16114200.lua
View file @
98623a88
...
...
@@ -65,9 +65,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spsumfilter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
local
grav
=
g
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
grav
then
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
end
end
--grave to hand
...
...
expansions/script/c92369039.lua
View file @
98623a88
...
...
@@ -30,6 +30,9 @@ end
function
cm
.
filter
(
c
)
return
c
:
IsFacedown
()
end
function
cm
.
ckfilter2
(
c
,
tp
)
return
c
:
GetOwner
()
==
tp
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
...
...
@@ -39,8 +42,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
local
dg
=
Duel
.
GetOperatedGroup
()
local
s1
=
dg
:
Filter
(
Card
.
GetOwner
,
nil
,
tp
):
GetCount
()
local
s2
=
dg
:
Filter
(
Card
.
GetOwner
,
nil
,
1
-
tp
):
GetCount
()
local
s1
=
dg
:
Filter
(
cm
.
ckfilter2
,
nil
,
tp
):
GetCount
()
local
s2
=
dg
:
Filter
(
cm
.
ckfilter2
,
nil
,
1
-
tp
):
GetCount
()
Duel
.
Damage
(
tp
,
s1
*
500
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
s2
*
500
,
REASON_EFFECT
)
end
expansions/script/c92369048.lua
View file @
98623a88
...
...
@@ -2,7 +2,7 @@
local
m
=
92369048
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
aux
.
FilterBoolFunction
(
Card
.
IsFaceup
)
,
LOCATION_MZONE
)
c
:
SetUniqueOnField
(
1
,
0
,
cm
.
unifilter
,
LOCATION_MZONE
)
--activate from hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -57,6 +57,9 @@ c:SetUniqueOnField(1,0,aux.FilterBoolFunction(Card.IsFaceup),LOCATION_MZONE)
e11
:
SetValue
(
cm
.
splimit
)
c
:
RegisterEffect
(
e11
)
end
function
cm
.
unifilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
...
...
@@ -89,8 +92,8 @@ end
function
cm
.
excon
(
e
)
local
c
=
e
:
GetHandler
()
return
Duel
.
IsExistingMatchingCard
(
nil
,
c
:
GetControler
(),
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
nil
,
c
:
GetControler
(),
LOCATION_
MZONE
,
0
,
1
,
nil
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
,
spos
,
tgp
)
return
not
Duel
.
IsExistingMatchingCard
(
nil
,
tgp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
nil
,
tgp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
end
\ No newline at end of file
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