Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
daaad69a
Commit
daaad69a
authored
May 20, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
78dea945
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
script/c56574543.lua
script/c56574543.lua
+1
-2
script/c57690191.lua
script/c57690191.lua
+1
-1
No files found.
script/c56574543.lua
View file @
daaad69a
...
@@ -21,7 +21,6 @@ function c56574543.atkcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -21,7 +21,6 @@ function c56574543.atkcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
Duel
.
GetAttackTarget
()
local
c
=
Duel
.
GetAttackTarget
()
if
not
c
then
return
false
end
if
not
c
then
return
false
end
if
c
:
IsControler
(
1
-
tp
)
then
c
=
Duel
.
GetAttacker
()
end
if
c
:
IsControler
(
1
-
tp
)
then
c
=
Duel
.
GetAttacker
()
end
e
:
SetLabelObject
(
c
)
return
c
and
c
:
IsSetCard
(
0x88
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsRelateToBattle
()
return
c
and
c
:
IsSetCard
(
0x88
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsRelateToBattle
()
end
end
function
c56574543
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c56574543
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -33,7 +32,7 @@ function c56574543.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +32,7 @@ function c56574543.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
if
not
a
:
IsRelateToBattle
()
or
a
:
IsFacedown
()
or
not
d
:
IsRelateToBattle
()
or
d
:
IsFacedown
()
then
return
end
if
not
a
:
IsRelateToBattle
()
or
a
:
IsFacedown
()
or
not
d
:
IsRelateToBattle
()
or
d
:
IsFacedown
()
then
return
end
if
a
:
GetControler
()
~=
tp
then
a
,
d
=
d
,
a
end
if
a
:
GetControler
()
~=
tp
then
a
,
d
=
d
,
a
end
if
not
a
:
IsImmuneToEffect
(
e
)
then
return
end
if
a
:
IsImmuneToEffect
(
e
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetOwnerPlayer
(
tp
)
e1
:
SetOwnerPlayer
(
tp
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c57690191.lua
View file @
daaad69a
...
@@ -28,7 +28,7 @@ function c57690191.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c57690191.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c57690191
.
atcon
(
e
)
function
c57690191
.
atcon
(
e
)
local
g
=
Duel
.
GetFieldGroup
Count
(
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
)
return
g
:
GetCount
()
~=
3
or
g
:
IsExists
(
c57690191
.
atkfilter
,
1
,
nil
)
return
g
:
GetCount
()
~=
3
or
g
:
IsExists
(
c57690191
.
atkfilter
,
1
,
nil
)
end
end
function
c57690191
.
atkfilter
(
c
)
function
c57690191
.
atkfilter
(
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