Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
Commits
02bce31e
Commit
02bce31e
authored
Oct 09, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3094f590
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
c15317640.lua
c15317640.lua
+1
-1
c61405855.lua
c61405855.lua
+1
-1
c90036274.lua
c90036274.lua
+5
-5
c98076754.lua
c98076754.lua
+1
-1
No files found.
c15317640.lua
View file @
02bce31e
--巨大戦艦 カバード・コア
--巨大戦艦 カバード・コア
function
c15317640
.
initial_effect
(
c
)
function
c15317640
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x1f
)
c
:
EnableCounterPermit
(
0x1f
)
--summon success
--summon success
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
15317640
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
15317640
,
0
))
...
...
c61405855.lua
View file @
02bce31e
...
@@ -62,7 +62,7 @@ function c61405855.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -62,7 +62,7 @@ function c61405855.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
bc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
local
bc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_
REMOVE
,
bc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_
DESTROY
,
bc
,
1
,
0
,
0
)
end
end
function
c61405855
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61405855
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
bc
=
Duel
.
GetFirstTarget
()
local
bc
=
Duel
.
GetFirstTarget
()
...
...
c90036274.lua
View file @
02bce31e
...
@@ -41,17 +41,17 @@ function c90036274.initial_effect(c)
...
@@ -41,17 +41,17 @@ function c90036274.initial_effect(c)
e3
:
SetOperation
(
c90036274
.
penop
)
e3
:
SetOperation
(
c90036274
.
penop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c90036274
.
cfilter1
(
c
)
function
c90036274
.
cfilter1
(
c
,
tp
)
return
c
:
IsSetCard
(
0x2016
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToGraveAsCost
()
and
c
:
IsLevelBelow
(
7
)
return
c
:
Is
Faceup
()
and
c
:
Is
SetCard
(
0x2016
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToGraveAsCost
()
and
c
:
IsLevelBelow
(
7
)
and
Duel
.
IsExistingMatchingCard
(
c90036274
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetLevel
())
and
Duel
.
IsExistingMatchingCard
(
c90036274
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetLevel
())
end
end
function
c90036274
.
cfilter2
(
c
,
lv
)
function
c90036274
.
cfilter2
(
c
,
lv
)
return
c
:
IsNotTuner
()
and
c
:
GetLevel
()
==
7
-
lv
and
c
:
IsAbleToGraveAsCost
()
return
c
:
Is
Faceup
()
and
c
:
Is
NotTuner
()
and
c
:
GetLevel
()
==
7
-
lv
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c90036274
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c90036274
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c90036274
.
cfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c90036274
.
cfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c90036274
.
cfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c90036274
.
cfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c90036274
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
g1
:
GetFirst
(),
g1
:
GetFirst
():
GetLevel
())
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c90036274
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
g1
:
GetFirst
(),
g1
:
GetFirst
():
GetLevel
())
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
...
...
c98076754.lua
View file @
02bce31e
...
@@ -76,7 +76,7 @@ function c98076754.tdcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -76,7 +76,7 @@ function c98076754.tdcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c98076754
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98076754
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c98076754
.
filter
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c98076754
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98076754
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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