Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
24d7409b
Commit
24d7409b
authored
Feb 18, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
837bfa8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100306030.lua
script/c100306030.lua
+3
-2
script/c100408029.lua
script/c100408029.lua
+2
-2
No files found.
expansions/pre-release.cdb
View file @
24d7409b
No preview for this file type
script/c100306030.lua
View file @
24d7409b
...
@@ -29,9 +29,10 @@ function c100306030.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -29,9 +29,10 @@ function c100306030.target(e,tp,eg,ep,ev,re,r,rp,chk)
return
matk
>
0
and
Duel
.
CheckReleaseGroup
(
tp
,
c100306030
.
costfilter
,
1
,
nil
,
matk
)
return
matk
>
0
and
Duel
.
CheckReleaseGroup
(
tp
,
c100306030
.
costfilter
,
1
,
nil
,
matk
)
end
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c100306030
.
costfilter
,
1
,
1
,
nil
,
matk
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c100306030
.
costfilter
,
1
,
1
,
nil
,
matk
)
e
:
SetLabel
(
g
:
GetFirst
():
GetAttack
())
local
atk
=
g
:
GetFirst
():
GetAttack
()
e
:
SetLabel
(
atk
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
local
ct
=
math.floor
(
g
:
GetFirst
()
/
500
)
local
ct
=
math.floor
(
atk
/
500
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
ct
,
1
-
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
ct
,
1
-
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
end
end
function
c100306030
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100306030
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c100408029.lua
View file @
24d7409b
...
@@ -33,7 +33,7 @@ function c100408029.spcost1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function c100408029.spcost1(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c100408029
.
spfilter1
(
c
,
e
,
tp
,
ec
)
function
c100408029
.
spfilter1
(
c
,
e
,
tp
,
ec
)
return
c
:
IsSetCard
(
0x1215
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1215
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
ec
,
c
,
0x
3
0
)
>
0
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
ec
,
c
,
0x
6
0
)
>
0
end
end
function
c100408029
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100408029
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100408029
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100408029
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
())
end
...
@@ -43,7 +43,7 @@ function c100408029.spop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c100408029.spop1(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
,
c100408029
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100408029
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
())
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
,
0x
3
0
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
,
0x
6
0
)
end
end
end
end
function
c100408029
.
cfilter
(
c
,
tp
,
rp
)
function
c100408029
.
cfilter
(
c
,
tp
,
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