Skip to content
Snippets Groups Projects
Commit 0465ec86 authored by dg's avatar dg
Browse files

The Demonic Orb of Many Ways can not be used on the High Peak farportals

git-svn-id: http://svn.net-core.org/repos/t-engine4@6323 51575b47-30f0-44d4-a5cc-537603b46e54
parent 09ed0cfd
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ If used near a portal it could probably activate it.]],
use_power = { name = "activate a portal", power = 10,
use = function(self, who)
local g = game.level.map(who.x, who.y, game.level.map.TERRAIN)
if g and g.orb_portal then
if g and g.orb_portal and game.zone.short_name ~= "high-peak" then
world:gainAchievement("SLIDERS", who:resolveSource())
who:useOrbPortal{
change_level = 1,
......
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