cleanup single target auras on spec switch
This commit is contained in:
@@ -271,6 +271,14 @@ namespace Game.Entities
|
|||||||
ExitVehicle();
|
ExitVehicle();
|
||||||
RemoveAllControlled();
|
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
|
// Let client clear his current Actions
|
||||||
SendActionButtons(2);
|
SendActionButtons(2);
|
||||||
foreach (var talentInfo in CliDB.TalentStorage.Values)
|
foreach (var talentInfo in CliDB.TalentStorage.Values)
|
||||||
|
|||||||
Reference in New Issue
Block a user