예제 #1
0
 private void SpellDetector_OnSpellStopCast(SpellStopArgs args)
 {
     if (Game.IsInGame && (LocalPlayer.Instance.CharName == "Shen Rao" || string.IsNullOrEmpty(LocalPlayer.Instance.CharName)))
     {
         LocalPlayer.EditAimPosition = false;
     }
 }
예제 #2
0
 private void SpellDetector_OnSpellStopCast(SpellStopArgs args)
 {
     if (Game.IsInGame && LocalPlayer.Instance.CharName == "Varesh")
     {
         LocalPlayer.EditAimPosition = false;
     }
 }
예제 #3
0
                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);
                    }
                }