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
10d91ca5
Commit
10d91ca5
authored
Mar 23, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8bcfb613
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
script/c36021814.lua
script/c36021814.lua
+1
-1
script/c38318146.lua
script/c38318146.lua
+1
-1
script/c95451366.lua
script/c95451366.lua
+1
-1
No files found.
script/c36021814.lua
View file @
10d91ca5
...
@@ -33,7 +33,7 @@ function c36021814.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,7 @@ function c36021814.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c36021814
.
costfilter
(
c
)
function
c36021814
.
costfilter
(
c
)
local
code
=
c
:
GetCode
()
local
code
=
c
:
GetCode
()
return
code
==
32274490
or
code
==
36021814
and
c
:
IsAbleToRemoveAsCost
()
return
(
code
==
32274490
or
code
==
36021814
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c36021814
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c36021814
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c36021814
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c36021814
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
())
end
...
...
script/c38318146.lua
View file @
10d91ca5
...
@@ -27,7 +27,7 @@ function c38318146.acfilter(c)
...
@@ -27,7 +27,7 @@ function c38318146.acfilter(c)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c38318146
.
actarget
(
e
,
te
,
tp
)
function
c38318146
.
actarget
(
e
,
te
,
tp
)
te
:
GetHandler
():
IsType
(
TYPE_SPELL
)
and
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
te
:
GetHandler
():
IsType
(
TYPE_SPELL
)
and
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
end
function
c38318146
.
accost
(
e
,
te
,
tp
)
function
c38318146
.
accost
(
e
,
te
,
tp
)
c38318146
[
0
]
=
false
c38318146
[
0
]
=
false
...
...
script/c95451366.lua
View file @
10d91ca5
...
@@ -8,7 +8,7 @@ function c95451366.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c95451366.initial_effect(c)
e1
:
SetOperation
(
c95451366
.
activate
)
e1
:
SetOperation
(
c95451366
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c95451366
.
taget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c95451366
.
ta
r
get
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
1
,
0x3001
,
1
,
REASON_EFFECT
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
1
,
0x3001
,
1
,
REASON_EFFECT
)
end
end
end
function
c95451366
.
filter
(
c
)
function
c95451366
.
filter
(
c
)
...
...
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