Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
3be1a07a
Commit
3be1a07a
authored
Feb 24, 2024
by
八宫一月
Committed by
GitHub
Feb 24, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix マシンナーズ・フォース and 督戦官コヴィントン (#2421)
* Update c58054262.lua * Update c22666164.lua
parent
32fb1900
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
c22666164.lua
c22666164.lua
+3
-2
c58054262.lua
c58054262.lua
+7
-3
No files found.
c22666164.lua
View file @
3be1a07a
...
@@ -23,7 +23,7 @@ function c22666164.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -23,7 +23,7 @@ function c22666164.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
sg
,
REASON_COST
)
Duel
.
SendtoGrave
(
sg
,
REASON_COST
)
end
end
function
c22666164
.
filter
(
c
,
e
,
tp
)
function
c22666164
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
58054262
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
fals
e
)
return
c
:
IsCode
(
58054262
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
tru
e
)
end
end
function
c22666164
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22666164
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
3
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
3
...
@@ -35,6 +35,7 @@ function c22666164.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,6 +35,7 @@ function c22666164.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c22666164
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c22666164
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
g
:
GetFirst
():
CompleteProcedure
()
end
end
end
end
c58054262.lua
View file @
3be1a07a
--マシンナーズ・フォース
--マシンナーズ・フォース
function
c58054262
.
initial_effect
(
c
)
function
c58054262
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--
cannot special summon
--
splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
c
:
RegisterEffect
(
e1
)
e1
:
SetValue
(
c58054262
.
splimit
)
c
:
RegisterEffect
(
e1
)
--attack cost
--attack cost
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -27,6 +28,9 @@ function c58054262.initial_effect(c)
...
@@ -27,6 +28,9 @@ function c58054262.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c58054262
.
spchecks
=
aux
.
CreateChecks
(
Card
.
IsCode
,{
60999392
,
23782705
,
96384007
})
c58054262
.
spchecks
=
aux
.
CreateChecks
(
Card
.
IsCode
,{
60999392
,
23782705
,
96384007
})
function
c58054262
.
splimit
(
e
,
se
,
sp
,
st
)
return
se
:
GetHandler
():
IsCode
(
22666164
)
end
function
c58054262
.
atcost
(
e
,
c
,
tp
)
function
c58054262
.
atcost
(
e
,
c
,
tp
)
return
Duel
.
CheckLPCost
(
tp
,
1000
)
return
Duel
.
CheckLPCost
(
tp
,
1000
)
end
end
...
...
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