[b25] Infusions/Throw Bomb/Shockwave Bomb bugs
Posted: Thu Apr 21, 2011 3:33 am
There are several bugs with infusions, throw bomb, and shockwave bomb.
Shockwave bomb always uses Fire Infusion to determine its damage increase, and at 5% per talent level, instead of 7%. (from explosives.lua, shockwave bomb)
When using throw bomb, the damage bonus of agate, opal, onyx, ruby, and diamond appears to be discarded if you are using any infusion other than fire. (from explosives.lua, throw bomb)
should probably be:
Shockwave bomb always uses Fire Infusion to determine its damage increase, and at 5% per talent level, instead of 7%. (from explosives.lua, shockwave bomb)
Code: Select all
inc_dam = self:getTalentLevel(self.T_FIRE_INFUSION) * 0.05 + (ammo.alchemist_bomb.power or 0) / 100
Code: Select all
if self:isTalentActive(self.T_ACID_INFUSION) then inc_dam = acidi.getIncrease(self,acidi); damtype = DamageType.ACID_BLIND; particle = "ball_acid"
elseif self:isTalentActive(self.T_LIGHTNING_INFUSION) then inc_dam = lightningi.getIncrease(self,lightningi); damtype = DamageType.LIGHTNING_DAZE; particle = "ball_lightning"
elseif self:isTalentActive(self.T_FROST_INFUSION) then inc_dam = frosti.getIncrease(self,frosti); damtype = DamageType.ICE; particle = "ball_ice"
else inc_dam = fireinf.getIncrease(self,fireinf) + (ammo.alchemist_bomb.power or 0) / 100; damtype = self:knowTalent(self.T_FIRE_INFUSION) and DamageType.FIREBURN or DamageType.FIRE
Code: Select all
if self:isTalentActive(self.T_ACID_INFUSION) then inc_dam = acidi.getIncrease(self,acidi) + (ammo.alchemist_bomb.power or 0) / 100; damtype = DamageType.ACID_BLIND; particle = "ball_acid"
elseif self:isTalentActive(self.T_LIGHTNING_INFUSION) then inc_dam = lightningi.getIncrease(self,lightningi) + (ammo.alchemist_bomb.power or 0) / 100; damtype = DamageType.LIGHTNING_DAZE; particle = "ball_lightning"
elseif self:isTalentActive(self.T_FROST_INFUSION) then inc_dam = frosti.getIncrease(self,frosti) + (ammo.alchemist_bomb.power or 0) / 100; damtype = DamageType.ICE; particle = "ball_ice"
else inc_dam = fireinf.getIncrease(self,fireinf) + (ammo.alchemist_bomb.power or 0) / 100; damtype = self:knowTalent(self.T_FIRE_INFUSION) and DamageType.FIREBURN or DamageType.FIRE