Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
be9409d5
Commit
be9409d5
authored
Jan 26, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4f495d52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
script/c49959355.lua
script/c49959355.lua
+6
-0
script/c6260554.lua
script/c6260554.lua
+4
-1
No files found.
script/c49959355.lua
View file @
be9409d5
...
...
@@ -8,6 +8,7 @@ function c49959355.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
49959355
)
e1
:
SetCost
(
c49959355
.
lvcost
)
e1
:
SetTarget
(
c49959355
.
lvtg1
)
e1
:
SetOperation
(
c49959355
.
lvop1
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -19,10 +20,15 @@ function c49959355.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
49959356
)
e2
:
SetCost
(
c49959355
.
lvcost
)
e2
:
SetTarget
(
c49959355
.
lvtg2
)
e2
:
SetOperation
(
c49959355
.
lvop2
)
c
:
RegisterEffect
(
e2
)
end
function
c49959355
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
c49959355
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
>
0
end
...
...
script/c6260554.lua
View file @
be9409d5
...
...
@@ -14,9 +14,12 @@ end
function
c6260554
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsChainNegatable
(
ev
)
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
end
function
c6260554
.
filter
(
c
)
return
c
:
IsReleasable
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c6260554
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
31533705
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
and
g
:
FilterCount
(
Card
.
IsReleasable
,
nil
)
==
g
:
GetCount
()
end
if
chk
==
0
then
return
g
:
GetCount
()
>
0
and
g
:
FilterCount
(
c6260554
.
filter
,
nil
)
==
g
:
GetCount
()
end
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c6260554
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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