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
eba3f42d
Commit
eba3f42d
authored
Jul 23, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ba3cd2df
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100254004.lua
script/c100254004.lua
+1
-1
script/c100309001.lua
script/c100309001.lua
+3
-3
script/c101009090.lua
script/c101009090.lua
+1
-1
No files found.
expansions/pre-release.cdb
View file @
eba3f42d
No preview for this file type
script/c100254004.lua
View file @
eba3f42d
...
@@ -38,7 +38,7 @@ function c100254004.chainlm(e,rp,tp)
...
@@ -38,7 +38,7 @@ function c100254004.chainlm(e,rp,tp)
return
tp
==
rp
return
tp
==
rp
end
end
function
c100254004
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100254004
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g1
=
Duel
.
IsExistingMatchingCard
(
c100254004
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c100254004
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
if
g1
:
GetCount
()
==
0
or
g2
:
GetCount
()
==
0
then
return
end
if
g1
:
GetCount
()
==
0
or
g2
:
GetCount
()
==
0
then
return
end
local
res
=
0
local
res
=
0
...
...
script/c100309001.lua
View file @
eba3f42d
...
@@ -39,13 +39,13 @@ function c100309001.initial_effect(c)
...
@@ -39,13 +39,13 @@ function c100309001.initial_effect(c)
e3
:
SetOperation
(
c100309001
.
negop
)
e3
:
SetOperation
(
c100309001
.
negop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c100309001
.
costfilter
2
(
c
)
function
c100309001
.
costfilter
(
c
)
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
GetType
()
==
TYPE_EQUIP
+
TYPE_SPELL
and
c
:
IsAbleToRemoveAsCost
()
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
GetType
()
==
TYPE_EQUIP
+
TYPE_SPELL
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c100309001
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100309001
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100309001
.
costfilter
2
,
tp
,
LOCATION_SZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100309001
.
costfilter
,
tp
,
LOCATION_SZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100309001
.
costfilter
2
,
tp
,
LOCATION_SZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100309001
.
costfilter
,
tp
,
LOCATION_SZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c100309001
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100309001
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c101009090.lua
View file @
eba3f42d
...
@@ -53,7 +53,7 @@ end
...
@@ -53,7 +53,7 @@ end
function
c101009090
.
cfilter1
(
c
)
function
c101009090
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x234
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x234
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
end
function
c101009090
.
cfilter
(
c
,
tp
)
function
c101009090
.
cfilter
2
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
return
c
:
GetSummonPlayer
()
==
tp
end
end
function
c101009090
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101009090
.
damcon
(
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