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

Fix Nova

Arcane Eye is now usable in the right click map menu


git-svn-id: http://svn.net-core.org/repos/t-engine4@2253 51575b47-30f0-44d4-a5cc-537603b46e54
parent f6290edc
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ newTalent{
cooldown = 10,
no_energy = true,
no_npc_use = true,
requires_target = true,
getDuration = function(self, t) return math.floor(10 + self:getTalentLevel(t) * 3) end,
getRadius = function(self, t) return math.floor(4 + self:getTalentLevel(t) * 3) end,
action = function(self, t)
......
......@@ -34,7 +34,7 @@ newTalent{
action = function(self, t)
local tg = {type="ball", range=0, radius=self:getTalentRange(t), friendlyfire=false, talent=t}
local dam = self:spellCrit(t.getDamage(self, t))
self:project(tg, self.x, self.y, DamageType.LIGHTNING_DAZE, {daze=75, rng.avg(dam / 3, dam, 3)})
self:project(tg, self.x, self.y, DamageType.LIGHTNING_DAZE, {daze=75, dam=rng.avg(dam / 3, dam, 3)})
local x, y = self.x, self.y
-- Lightning ball gets a special treatment to make it look neat
local sradius = (tg.radius + 0.5) * (engine.Map.tile_w + engine.Map.tile_h) / 2
......
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