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
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-scripts
Commits
57c8e2f8
Commit
57c8e2f8
authored
May 19, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banished monsters
'banished monsters' implicitly means 'face-up banished monsters'.
parent
c1cf25e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
c82579942.lua
c82579942.lua
+4
-1
c91349449.lua
c91349449.lua
+4
-1
No files found.
c82579942.lua
View file @
57c8e2f8
...
@@ -18,11 +18,14 @@ function c82579942.initial_effect(c)
...
@@ -18,11 +18,14 @@ function c82579942.initial_effect(c)
e2
:
SetValue
(
c82579942
.
valcon
)
e2
:
SetValue
(
c82579942
.
valcon
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c82579942
.
spfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
c82579942
.
spcon
(
e
,
c
)
function
c82579942
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAttribute
,
tp
,
LOCATION_REMOVED
,
0
,
3
,
nil
,
ATTRIBUTE_LIGHT
)
and
Duel
.
IsExistingMatchingCard
(
c82579942
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
3
,
nil
)
end
end
function
c82579942
.
valcon
(
e
,
re
,
r
,
rp
)
function
c82579942
.
valcon
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
...
...
c91349449.lua
View file @
57c8e2f8
...
@@ -28,11 +28,14 @@ function c91349449.initial_effect(c)
...
@@ -28,11 +28,14 @@ function c91349449.initial_effect(c)
e3
:
SetOperation
(
c91349449
.
rmop
)
e3
:
SetOperation
(
c91349449
.
rmop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c91349449
.
spfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
c91349449
.
spcon
(
e
,
c
)
function
c91349449
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAttribute
,
tp
,
LOCATION_REMOVED
,
0
,
3
,
nil
,
ATTRIBUTE_LIGHT
)
and
Duel
.
IsExistingMatchingCard
(
c91349449
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
3
,
nil
)
end
end
function
c91349449
.
rmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c91349449
.
rmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetAttackAnnouncedCount
()
==
0
end
if
chk
==
0
then
return
e
:
GetHandler
():
GetAttackAnnouncedCount
()
==
0
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