Skip to content
Snippets Groups Projects
Commit 61fc2ac9 authored by dg's avatar dg
Browse files

Vor Armoury main room is a no teleport zone

git-svn-id: http://svn.net-core.org/repos/t-engine4@6582 51575b47-30f0-44d4-a5cc-537603b46e54
parent 69061cad
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ newTalent{
tactical = { ESCAPE = 2 },
requires_target = function(self, t) return self:getTalentLevel(t) >= 4 end,
getRange = function(self, t) return 4 + self:combatTalentSpellDamage(t, 10, 15) end,
getRadius = function(self, t) return 7 - self:getTalentLevelRaw(t) end,
getRadius = function(self, t) return math.max(0, 7 - self:getTalentLevelRaw(t)) end,
is_teleport = true,
action = function(self, t)
local target = self
......
......@@ -60,6 +60,9 @@ return {
for uid, e in pairs(level.entities) do e.faction="orc-pride" end
if level.level == 2 then
for uid, e in pairs(level.entities) do e:setEffect(e.EFF_VAULTED, 1, {}) end
for x = 21, 33 do for y = 1, 29 do
game.level.map.attrs(x, y, "no_teleport", true)
end end
end
end,
levels =
......
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