[1.6.6]Heavy weapon can't trigger Grenade Launcher
Posted: Sat Feb 15, 2020 10:18 am
in tome-orcs/data/talents/steam/demolition.lua:54
self. is missing
it should be
Code: Select all
callbackOnArcheryAttack = function(self, t, target, hitted, crit, weapon, ammo, damtype, mult, dam, talent)
if (not self:isTalentCoolingDown(t) or self:hasEffect(self.EFF_GRENADE_BARRAGE)) and (talent.id == self.T_SHOOT or talent.id == T_FLAME_JET or talent.id == T_STORMSTRIKE or talent.id == T_FLECHETTE_BURST) then
it should be
Code: Select all
callbackOnArcheryAttack = function(self, t, target, hitted, crit, weapon, ammo, damtype, mult, dam, talent)
if (not self:isTalentCoolingDown(t) or self:hasEffect(self.EFF_GRENADE_BARRAGE)) and (talent.id == self.T_SHOOT or talent.id == self.T_FLAME_JET or talent.id == self.T_STORMSTRIKE or talent.id == self.T_FLECHETTE_BURST) then