Skip to content
Snippets Groups Projects
Commit 3a51fe0b authored by Hachem_Muche's avatar Hachem_Muche
Browse files

resolve talent conflict

parent cabd48f1
No related branches found
No related tags found
No related merge requests found
......@@ -33,17 +33,7 @@ Talents.newTalent = function(self, t)
if tt.is_unarmed then t.is_unarmed = true end
if tt.autolearn_mindslayer then t.autolearn_mindslayer = true end
if tt.speed and not t.speed then t.speed = tt.speed end
--[[
assert(engine.interface.ActorTalents.talents_types_def[t.type[1]], "No talent category "..tostring(t.type[1]).." for talent "..t.name)
if engine.interface.ActorTalents.talents_types_def[t.type[1]].generic then t.generic = true end
if engine.interface.ActorTalents.talents_types_def[t.type[1]].no_silence then t.no_silence = true end
if engine.interface.ActorTalents.talents_types_def[t.type[1]].is_spell then t.is_spell = true end
if engine.interface.ActorTalents.talents_types_def[t.type[1]].is_mind then t.is_mind = true end
if engine.interface.ActorTalents.talents_types_def[t.type[1]].is_nature then t.is_nature = true end
if engine.interface.ActorTalents.talents_types_def[t.type[1]].is_antimagic then t.is_antimagic = true end
if engine.interface.ActorTalents.talents_types_def[t.type[1]].is_unarmed then t.is_unarmed = true end
if engine.interface.ActorTalents.talents_types_def[t.type[1]].autolearn_mindslayer then t.autolearn_mindslayer = true end
--]]
if t.tactical then
local tacts = {}
for tact, val in pairs(t.tactical) do
......
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