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
Reinen
ygopro-scripts
Commits
da4d14fa
Commit
da4d14fa
authored
Jan 28, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d3ae337a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
c9030160.lua
c9030160.lua
+6
-2
No files found.
c9030160.lua
View file @
da4d14fa
...
...
@@ -21,9 +21,9 @@ function c9030160.initial_effect(c)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EFFECT_UNRELEASABLE_SUM
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetCondition
(
c9030160
.
condition
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
c9030160
.
sumlimit
)
c
:
RegisterEffect
(
e3
)
local
e5
=
e3
:
Clone
()
e5
:
SetCode
(
EFFECT_CANNOT_BE_FUSION_MATERIAL
)
...
...
@@ -53,6 +53,10 @@ function c9030160.condition(e)
local
pc2
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
7
)
return
pc1
and
pc2
and
pc1
:
IsSetCard
(
0xaf
)
and
pc2
:
IsSetCard
(
0xaf
)
end
function
c9030160
.
sumlimit
(
e
,
c
)
if
not
c
then
return
false
end
return
not
c
:
IsControler
(
e
:
GetHandlerPlayer
())
end
function
c9030160
.
evalue
(
e
,
re
,
rp
)
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
rp
~=
e
:
GetHandlerPlayer
()
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