Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
4485b797
Commit
4485b797
authored
Apr 25, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d1d02e71
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
script/c16909657.lua
script/c16909657.lua
+1
-1
script/c48179391.lua
script/c48179391.lua
+4
-4
script/c63730624.lua
script/c63730624.lua
+4
-4
script/c81471108.lua
script/c81471108.lua
+1
-1
No files found.
script/c16909657.lua
View file @
4485b797
...
...
@@ -19,7 +19,7 @@ end
function
c16909657
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
e
:
GetHandler
():
GetBattleTarget
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
tc
:
Is
Location
(
LOCATION_GRAVE
)
and
tc
:
Is
CanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
tc
:
CreateEffectRelation
(
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
tc
,
1
,
0
,
LOCATION_GRAVE
)
end
...
...
script/c48179391.lua
View file @
4485b797
...
...
@@ -37,10 +37,10 @@ function c48179391.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--atk limit
local
e5
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_FIELD
)
e
1
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e
1
:
SetRange
(
LOCATION_FZONE
)
e
1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e
5
:
SetType
(
EFFECT_TYPE_FIELD
)
e
5
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e
5
:
SetRange
(
LOCATION_FZONE
)
e
5
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e5
:
SetCondition
(
c48179391
.
atkcon
)
e5
:
SetValue
(
c48179391
.
atlimit
)
c
:
RegisterEffect
(
e5
)
...
...
script/c63730624.lua
View file @
4485b797
...
...
@@ -33,10 +33,10 @@ function c63730624.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--atk
local
e5
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_FIELD
)
e
1
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e
1
:
SetRange
(
LOCATION_SZONE
)
e
1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e
5
:
SetType
(
EFFECT_TYPE_FIELD
)
e
5
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e
5
:
SetRange
(
LOCATION_SZONE
)
e
5
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e5
:
SetCondition
(
c63730624
.
ocon1
)
e5
:
SetValue
(
c63730624
.
atlimit
)
c
:
RegisterEffect
(
e5
)
...
...
script/c81471108.lua
View file @
4485b797
...
...
@@ -70,7 +70,7 @@ end
function
c81471108
.
eqlimit
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
end
function
c81471108
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81471108
.
tgcon
(
e
)
return
e
:
GetHandler
():
GetEquipTarget
()
~=
nil
end
function
c81471108
.
tglimit
(
e
,
re
,
c
)
...
...
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