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
372428ec
Commit
372428ec
authored
Mar 25, 2017
by
nekrozar
Committed by
VanillaSalt
Mar 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#825)
parent
1122d389
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
c1861692.lua
c1861692.lua
+2
-0
utility.lua
utility.lua
+11
-10
No files found.
c1861692.lua
View file @
372428ec
--デコード・トーカー
function
c1861692
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsType
,
TYPE_EFFECT
),
2
)
c
:
EnableReviveLimit
()
--atk
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
utility.lua
View file @
372428ec
...
...
@@ -1620,15 +1620,16 @@ function Auxiliary.PendOperation()
end
end
--Link Summon
function
Auxiliary
.
AddLinkProcedure
(
c
,
f
,
ct
)
function
Auxiliary
.
AddLinkProcedure
(
c
,
f
,
min
,
max
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
e1
:
SetCondition
(
Auxiliary
.
LinkCondition
(
f
,
ct
,
99
))
e1
:
SetOperation
(
Auxiliary
.
LinkOperation
(
f
,
ct
,
99
))
if
max
==
nil
then
max
=
99
end
e1
:
SetCondition
(
Auxiliary
.
LinkCondition
(
f
,
min
,
max
))
e1
:
SetOperation
(
Auxiliary
.
LinkOperation
(
f
,
min
,
max
))
e1
:
SetValue
(
SUMMON_TYPE_LINK
)
c
:
RegisterEffect
(
e1
)
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