Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tome
Tales of MajEyal
Commits
2d6752b5
Commit
2d6752b5
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Orbs of Command can not be re-used on pedestrals to summons bosses duplicates
parent
18c8f21a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/class/Player.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/class/Player.lua
game/modules/tome/data/zones/slime-tunnels/grids.lua
+2
-1
2 additions, 1 deletion
game/modules/tome/data/zones/slime-tunnels/grids.lua
with
3 additions
and
2 deletions
game/modules/tome/class/Player.lua
+
1
−
1
View file @
2d6752b5
...
...
@@ -1461,7 +1461,7 @@ function _M:useCommandOrb(o, x, y)
end
if
g
.
orb_command
then
g
.
orb_command
:
special
(
self
)
g
.
orb_command
:
special
(
self
,
g
)
if
not
g
.
orb_command
.
continue
then
return
end
end
g
.
orbed
=
true
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/zones/slime-tunnels/grids.lua
+
2
−
1
View file @
2d6752b5
...
...
@@ -37,7 +37,8 @@ local orb_activate = function(self, x, y, who, act, couldpass)
return
false
end
local
orb_summon
=
function
(
self
,
who
)
local
orb_summon
=
function
(
self
,
who
,
g
)
if
g
and
g
.
orbed
then
return
end
local
filter
=
self
.
summon
local
npc
=
game
.
zone
:
makeEntity
(
game
.
level
,
"actor"
,
filter
,
nil
,
true
)
local
nx
,
ny
=
util
.
findFreeGrid
(
who
.
x
,
who
.
y
,
10
,
true
,
{[
engine
.
Map
.
ACTOR
]
=
true
})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment