Skip to content
Snippets Groups Projects
Commit 2422d6b1 authored by DarkGod's avatar DarkGod
Browse files

Fixed Lich evolution not showing up anymore in the prodigies screen once learnt

parent 5c1cb65d
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ newTalent{
radius = function(self, t) return self:callTalent(self.T_NECROTIC_AURA, "radius") end,
target = function(self, t) return {type="ball", range=0, radius=self:getTalentRadius(t)} end,
requires_target = true,
getNb = function(self, t) return math.floor(self:combatTalentLimit(t, 8, 1, 6)) end,
getNb = function(self, t) return math.ceil(self:combatTalentLimit(t, 8, 1, 6)) end,
on_pre_use = function(self, t) return self:isTalentActive(self.T_NECROTIC_AURA) and necroArmyStats(self).nb > 0 end,
action = function(self, t)
local stats = necroArmyStats(self)
......
......@@ -355,6 +355,7 @@ uberTalent{
stat = {wil=25},
},
is_race_evolution = function(self, t)
if self:knowTalent(t.id) then return true end
if not t:_canGrantQuest(self) then return false end
local nb = 0
for tid, lvl in pairs(self.talents) do local t = self:getTalentFromId(tid) if t.is_necromancy then nb = nb + lvl end end
......
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