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
cf42d1a0
Commit
cf42d1a0
authored
Apr 23, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4480b5e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100248025.lua
script/c100248025.lua
+2
-2
No files found.
expansions/pre-release.cdb
View file @
cf42d1a0
No preview for this file type
script/c100248025.lua
View file @
cf42d1a0
...
...
@@ -15,12 +15,12 @@ function c100248025.initial_effect(c)
end
function
c100248025
.
filter
(
c
,
e
,
tp
)
local
lv
=
c
:
GetOriginalLevel
()
return
lv
>
0
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x22f
)
return
lv
>
1
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x22f
)
and
Duel
.
IsExistingMatchingCard
(
c100248025
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
lv
)
end
function
c100248025
.
spfilter
(
c
,
e
,
tp
,
clv
)
local
lv
=
c
:
GetOriginalLevel
()
return
lv
>
0
and
lv
<
clv
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
lv
>
0
and
lv
==
clv
-
1
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c100248025
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c100248025
.
filter
(
chkc
,
e
,
tp
)
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