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