cleanup single target auras on spec switch

This commit is contained in:
hondacrx
2017-11-05 15:46:16 -05:00
parent 45066387e5
commit b9d3e7623b
@@ -271,6 +271,14 @@ namespace Game.Entities
ExitVehicle();
RemoveAllControlled();
// remove single target auras at other targets
var scAuras = GetSingleCastAuras();
foreach (var aura in scAuras)
{
if (aura.GetUnitOwner() != this)
aura.Remove();
}
// Let client clear his current Actions
SendActionButtons(2);
foreach (var talentInfo in CliDB.TalentStorage.Values)