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
1763bee6
Commit
1763bee6
authored
Apr 11, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a0db0e4d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
c14799437.lua
c14799437.lua
+2
-2
c14943837.lua
c14943837.lua
+3
-1
c67489919.lua
c67489919.lua
+3
-1
utility.lua
utility.lua
+0
-1
No files found.
c14799437.lua
View file @
1763bee6
...
@@ -47,8 +47,8 @@ function c14799437.sumfilter(c)
...
@@ -47,8 +47,8 @@ function c14799437.sumfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
end
end
function
c14799437
.
lv_or_rk
(
c
)
function
c14799437
.
lv_or_rk
(
c
)
if
c
:
IsType
(
TYPE_XYZ
)
then
Debug
.
Message
(
c
:
GetRank
())
return
c
:
GetRank
()
if
c
:
IsType
(
TYPE_XYZ
)
then
return
c
:
GetRank
()
else
Debug
.
Message
(
c
:
GetLevel
())
return
c
:
GetLevel
()
end
else
return
c
:
GetLevel
()
end
end
end
function
c14799437
.
spcon
(
e
,
c
)
function
c14799437
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c14943837.lua
View file @
1763bee6
...
@@ -7,8 +7,10 @@ function c14943837.initial_effect(c)
...
@@ -7,8 +7,10 @@ function c14943837.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetValue
(
c14943837
.
synlimit
)
e1
:
SetValue
(
c14943837
.
synlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_TUNER_MATERIAL_LIMIT
)
e2
:
SetCode
(
EFFECT_TUNER_MATERIAL_LIMIT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetTarget
(
c14943837
.
synlimit2
)
e2
:
SetTarget
(
c14943837
.
synlimit2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--summon success
--summon success
...
...
c67489919.lua
View file @
1763bee6
...
@@ -30,8 +30,10 @@ function c67489919.initial_effect(c)
...
@@ -30,8 +30,10 @@ function c67489919.initial_effect(c)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e5
:
SetValue
(
c67489919
.
synlimit
)
e5
:
SetValue
(
c67489919
.
synlimit
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e5
:
Clone
()
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
EFFECT_TUNER_MATERIAL_LIMIT
)
e6
:
SetCode
(
EFFECT_TUNER_MATERIAL_LIMIT
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e6
:
SetTarget
(
c67489919
.
synlimit2
)
e6
:
SetTarget
(
c67489919
.
synlimit2
)
e6
:
SetValue
(
LOCATION_MZONE
+
LOCATION_HAND
)
e6
:
SetValue
(
LOCATION_MZONE
+
LOCATION_HAND
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
...
...
utility.lua
View file @
1763bee6
...
@@ -1642,7 +1642,6 @@ function Auxiliary.AddLinkProcedure(c,f,min,max)
...
@@ -1642,7 +1642,6 @@ function Auxiliary.AddLinkProcedure(c,f,min,max)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
if
max
==
nil
then
max
=
99
end
if
max
==
nil
then
max
=
99
end
e1
:
SetCondition
(
Auxiliary
.
LinkCondition
(
f
,
min
,
max
))
e1
:
SetCondition
(
Auxiliary
.
LinkCondition
(
f
,
min
,
max
))
e1
:
SetOperation
(
Auxiliary
.
LinkOperation
(
f
,
min
,
max
))
e1
:
SetOperation
(
Auxiliary
.
LinkOperation
(
f
,
min
,
max
))
...
...
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