Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
67f0884f
Commit
67f0884f
authored
May 08, 2019
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
edadf34e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
c31826057.lua
c31826057.lua
+1
-1
c75304793.lua
c75304793.lua
+4
-4
c94331452.lua
c94331452.lua
+1
-1
No files found.
c31826057.lua
View file @
67f0884f
...
...
@@ -25,7 +25,7 @@ function c31826057.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
function
c31826057
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1066
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1066
)
end
function
c31826057
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c31826057
.
filter
(
chkc
)
end
...
...
c75304793.lua
View file @
67f0884f
...
...
@@ -47,8 +47,8 @@ function c75304793.filter(c)
end
function
c75304793
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c75304793
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
b1
=
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x35
,
5
,
REASON_COST
)
local
b2
=
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x35
,
7
,
REASON_COST
)
local
b1
=
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x35
,
5
,
REASON_COST
)
local
b2
=
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x35
,
7
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
)
if
chk
==
0
then
return
ct
>
0
and
(
b1
or
b2
)
end
local
op
=
0
...
...
@@ -62,12 +62,12 @@ function c75304793.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
op
)
if
op
==
0
then
e
:
SetCategory
(
CATEGORY_DAMAGE
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x35
,
5
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x35
,
5
,
REASON_COST
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
ct
*
300
)
else
e
:
SetCategory
(
CATEGORY_REMOVE
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x35
,
7
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x35
,
7
,
REASON_COST
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
)
end
end
...
...
c94331452.lua
View file @
67f0884f
...
...
@@ -25,7 +25,7 @@ function c94331452.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
function
c94331452
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1066
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1066
)
end
function
c94331452
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c94331452
.
filter
(
chkc
)
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