Core/Player: recheck shapeshift bonus auras when switching spec.
This commit is contained in:
@@ -385,6 +385,13 @@ namespace Game.Entities
|
|||||||
|
|
||||||
activeGlyphs.IsFullUpdate = true;
|
activeGlyphs.IsFullUpdate = true;
|
||||||
SendPacket(activeGlyphs);
|
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]; }
|
public Dictionary<uint, PlayerSpellState> GetTalentMap(uint spec) { return _specializationInfo.Talents[spec]; }
|
||||||
|
|||||||
@@ -768,7 +768,7 @@ namespace Game.Spells
|
|||||||
GetBase().CallScriptAfterEffectProcHandlers(this, aurApp, eventInfo);
|
GetBase().CallScriptAfterEffectProcHandlers(this, aurApp, eventInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandleShapeshiftBoosts(Unit target, bool apply)
|
public void HandleShapeshiftBoosts(Unit target, bool apply)
|
||||||
{
|
{
|
||||||
uint spellId = 0;
|
uint spellId = 0;
|
||||||
uint spellId2 = 0;
|
uint spellId2 = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user