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
10ed38bb
Commit
10ed38bb
authored
Jun 05, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
7d9f7c3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
c82003859.lua
c82003859.lua
+10
-9
No files found.
c82003859.lua
View file @
10ed38bb
...
...
@@ -19,21 +19,22 @@ function c82003859.initial_effect(c)
--accumulate
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
0x10000000
+
82003859
)
e3
:
SetCode
(
82003859
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
1
,
1
)
e3
:
SetTargetRange
(
LOCATION_SZONE
,
LOCATION_SZONE
)
c
:
RegisterEffect
(
e3
)
end
function
c82003859
.
filter
(
c
,
fid
)
return
c
:
IsHasEffect
(
82003859
)
and
c
:
GetFieldID
()
<
fid
end
function
c82003859
.
atcon
(
e
)
c82003859
[
0
]
=
false
return
true
return
not
Duel
.
IsExistingMatchingCard
(
c82003859
.
filter
,
0
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
,
e
:
GetHandler
():
GetFieldID
())
end
function
c82003859
.
atcost
(
e
,
c
,
tp
)
return
Duel
.
CheckLPCost
(
tp
,
500
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsHasEffect
,
0
,
LOCATION_SZONE
,
LOCATION_SZONE
,
nil
,
82003859
)
return
Duel
.
CheckLPCost
(
tp
,
ct
*
500
)
end
function
c82003859
.
atop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c82003859
[
0
]
then
return
end
Duel
.
PayLPCost
(
tp
,
Duel
.
GetFlagEffect
(
tp
,
82003859
)
*
500
)
c82003859
[
0
]
=
true
local
ct
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsHasEffect
,
0
,
LOCATION_SZONE
,
LOCATION_SZONE
,
nil
,
82003859
)
Duel
.
PayLPCost
(
tp
,
ct
*
500
)
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