Core/Player: recheck shapeshift bonus auras when switching spec.

This commit is contained in:
hondacrx
2018-01-24 12:08:43 -05:00
parent 659080b5a5
commit 9f8bd31c54
2 changed files with 8 additions and 1 deletions
@@ -385,6 +385,13 @@ namespace Game.Entities
activeGlyphs.IsFullUpdate = true;
SendPacket(activeGlyphs);
var shapeshiftAuras = GetAuraEffectsByType(AuraType.ModShapeshift);
foreach (AuraEffect aurEff in shapeshiftAuras)
{
aurEff.HandleShapeshiftBoosts(this, false);
aurEff.HandleShapeshiftBoosts(this, true);
}
}
public Dictionary<uint, PlayerSpellState> GetTalentMap(uint spec) { return _specializationInfo.Talents[spec]; }