Commit 9af66d00c71ff928ec396652916661e8832d2bf6

Authored by Mcintyre Watts
1 parent 52dd0daa

Fix Shadows not Fading once they are immune to their summoner's damage

... ... @@ -316,7 +316,7 @@ local function createShadow(self, level, tCallShadows, tShadowWarriors, tShadowM
316 316 value = value * self.avoid_master_damage
317 317 end
318 318
319   - if self:knowTalent(self.T_SHADOW_FADE) and not self:isTalentCoolingDown(self.T_SHADOW_FADE) and not (self.avoid_master_damage == 0) then
  319 + if self:knowTalent(self.T_SHADOW_FADE) and not self:isTalentCoolingDown(self.T_SHADOW_FADE) and (value > 0) then
320 320 self:forceUseTalent(self.T_SHADOW_FADE, {ignore_energy=true})
321 321 end
322 322
... ...
... ... @@ -292,7 +292,7 @@ local function createLichShadow(self, level, tCallShadows, tShadowWarriors, tSha
292 292 value = value * self.avoid_master_damage
293 293 end
294 294
295   - if self:knowTalent(self.T_SHADOW_FADE) and not self:isTalentCoolingDown(self.T_SHADOW_FADE) and not (self.avoid_master_damage == 0) then
  295 + if self:knowTalent(self.T_SHADOW_FADE) and not self:isTalentCoolingDown(self.T_SHADOW_FADE) and (value > 0) then
296 296 self:forceUseTalent(self.T_SHADOW_FADE, {ignore_energy=true})
297 297 end
298 298
... ...