diff --git a/game/modules/tome/data/talents.lua b/game/modules/tome/data/talents.lua index 35ad8a262f82c93c87cbcdbbed9943a7c1fa1e37..cd5d58f8e6a112efe7ffa6f5e38a5e7a73a9c033 100644 --- a/game/modules/tome/data/talents.lua +++ b/game/modules/tome/data/talents.lua @@ -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