private void SpellDetector_OnSpellStopCast(SpellStopArgs args) { if (Game.IsInGame && (LocalPlayer.Instance.CharName == "Shen Rao" || string.IsNullOrEmpty(LocalPlayer.Instance.CharName))) { LocalPlayer.EditAimPosition = false; } }
private void SpellDetector_OnSpellStopCast(SpellStopArgs args) { if (Game.IsInGame && LocalPlayer.Instance.CharName == "Varesh") { LocalPlayer.EditAimPosition = false; } }
private static void SpellDetector_OnSpellStopCast(SpellStopArgs args) { var tryGetCast = TrackedCasts.FirstOrDefault(t => t.Owner.Name == args.Caster.Name && t.Index == args.AbilityIndex); if (tryGetCast != default(TrackedCast)) { TrackedCasts.Remove(tryGetCast); } }