Skip to content
Snippets Groups Projects
Commit 22caba2d authored by dg's avatar dg
Browse files

disable orb of many ways use timer

git-svn-id: http://svn.net-core.org/repos/t-engine4@1078 51575b47-30f0-44d4-a5cc-537603b46e54
parent f282e48a
No related branches found
No related tags found
No related merge requests found
......@@ -575,7 +575,7 @@ function _M:useOrbPortal(portal)
end
return true
end
if not wait() then return end
-- if not wait() then return end
if portal.teleport_level then
local x, y = util.findFreeGrid(portal.teleport_level.x, portal.teleport_level.y, 2, true, {[Map.ACTOR]=true})
......@@ -591,7 +591,7 @@ function _M:useOrbPortal(portal)
if portal.message then game.logPlayer(self, portal.message) end
if portal.on_use then portal:on_use(self) end
self.energy = self.energy + game.energy_to_act
self.energy.value = self.energy.value + game.energy_to_act
end
--- Use the orbs of command
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment