[1.6.6]Heavy weapon can't trigger Grenade Launcher

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
starsapphire
Thalore
Posts: 132
Joined: Sat Sep 27, 2014 11:33 am
Location: Irkkk

[1.6.6]Heavy weapon can't trigger Grenade Launcher

#1 Post by starsapphire »

in tome-orcs/data/talents/steam/demolition.lua:54

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
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 == self.T_FLAME_JET or talent.id == self.T_STORMSTRIKE or talent.id == self.T_FLECHETTE_BURST) then

Post Reply