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
8f69622b
Commit
8f69622b
authored
Jun 20, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c917ffb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
c10389794.lua
c10389794.lua
+1
-1
c11390349.lua
c11390349.lua
+1
-1
c52339733.lua
c52339733.lua
+1
-0
No files found.
c10389794.lua
View file @
8f69622b
...
@@ -10,7 +10,7 @@ function c10389794.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c10389794.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c10389794
.
filter
(
c
)
function
c10389794
.
filter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
GetBaseAttack
()
==
0
or
c
:
GetBaseDefense
()
==
0
)
return
c
:
IsFaceup
()
and
(
c
:
GetBaseAttack
()
==
0
or
(
c
:
GetBaseDefense
()
==
0
and
c
:
IsDefenseAbove
(
0
))
)
end
end
function
c10389794
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10389794
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c11390349.lua
View file @
8f69622b
...
@@ -30,7 +30,7 @@ function c11390349.val(e,c)
...
@@ -30,7 +30,7 @@ function c11390349.val(e,c)
return
Duel
.
GetMatchingGroupCount
(
c11390349
.
vfilter
,
e
:
GetOwnerPlayer
(),
LOCATION_MZONE
,
0
,
nil
)
*-
300
return
Duel
.
GetMatchingGroupCount
(
c11390349
.
vfilter
,
e
:
GetOwnerPlayer
(),
LOCATION_MZONE
,
0
,
nil
)
*-
300
end
end
function
c11390349
.
filter
(
c
)
function
c11390349
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetDefense
()
==
0
and
c
:
IsControlerCanBeChanged
()
return
c
:
IsFaceup
()
and
c
:
GetDefense
()
==
0
and
c
:
Is
DefenseAbove
(
0
)
and
c
:
Is
ControlerCanBeChanged
()
end
end
function
c11390349
.
ctltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c11390349
.
ctltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c11390349
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c11390349
.
filter
(
chkc
)
end
...
...
c52339733.lua
View file @
8f69622b
...
@@ -13,6 +13,7 @@ function c52339733.atkcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -13,6 +13,7 @@ function c52339733.atkcon(e,tp,eg,ep,ev,re,r,rp)
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
return
d
and
a
:
GetControler
()
~=
d
:
GetControler
()
return
d
and
a
:
GetControler
()
~=
d
:
GetControler
()
and
a
:
IsDefenseAbove
(
0
)
and
d
:
IsDefenseAbove
(
0
)
end
end
function
c52339733
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52339733
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
...
...
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