Skip to content
Snippets Groups Projects
Commit 03e021f1 authored by Sheila's avatar Sheila
Browse files

Make animus hoarder into a passive ability, should help deal with some mana...

Make animus hoarder into a passive ability, should help deal with some mana issues early on and soul issues later on.
parent 2f58c6fe
No related branches found
No related tags found
1 merge request!393Necro buffs
......@@ -54,21 +54,13 @@ newTalent{
name = "Animus Hoarder",
type = {"spell/animus",2},
require = spells_req2,
mode = "sustained",
mode = "passive",
points = 5,
sustain_mana = 50,
cooldown = 30,
tactical = { BUFF = 3 },
getMax = function(self, t) return math.floor(self:combatTalentScale(t, 2, 8)) end,
getChance = function(self, t) return math.floor(self:combatTalentScale(t, 10, 80)) end,
activate = function(self, t)
local ret = {}
self:talentTemporaryValue(ret, "max_soul", t.getMax(self, t))
self:talentTemporaryValue(ret, "extra_soul_chance", t.getChance(self, t))
return ret
end,
deactivate = function(self, t, p)
return true
passives = function(self, t, p)
self:talentTemporaryValue(p, "extra_soul_chance", t.getChance(self, t))
self:talentTemporaryValue(p, "max_soul", t.getMax(self, t))
end,
info = function(self, t)
local max, chance = t.getMax(self, t), t.getChance(self, t)
......
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