public void ApplyCrowdControl(ICrowdControl cc) { if (cc.IsTypeOf(CrowdControlType.STUN) || cc.IsTypeOf(CrowdControlType.ROOT)) { StopMovement(); } _crowdControlList.Add(cc); }
public void ApplyCrowdControl(ICrowdControl cc) { if (cc.IsTypeOf(CrowdControlType.STUN) || cc.IsTypeOf(CrowdControlType.ROOT)) { StopMovement(); } ApiEventManager.OnUnitCrowdControlled.Publish(TargetUnit); _crowdControlList.Add(cc); }