private void OnUpdate(EventArgs args) { if (!Enabled || !Game.IsInGame || Game.CurrentMatchState != MatchState.InRound || (LocalPlayer.Instance.CharName != "Shen Rao" && !string.IsNullOrEmpty(LocalPlayer.Instance.CharName))) { return; } if (MenuHandler.UseSkill(AbilitySlot.Ability6) && AbilitySlot.Ability6.IsReady() && LocalPlayer.Instance.Energized.Energy >= 25 && LocalPlayer.Instance.Living.MaxRecoveryHealth - LocalPlayer.Instance.Living.Health >= 22) { LocalPlayer.PressAbility(AbilitySlot.Ability6, true); return; } if (LocalPlayer.Instance.AbilitySystem.IsCasting && !LocalPlayer.Instance.AbilitySystem.IsPostCasting) { if (_combo || MenuHandler.AimUserInput) { Aiming.GetTargetAndAim(); } } else if (_combo && HasUltBuff()) { //ult logic? } else if (_combo && (!LocalPlayer.Instance.AbilitySystem.IsCasting || LocalPlayer.Instance.AbilitySystem.IsPostCasting)) { Casting.CastLogic(); } }
private void OnUpdate(EventArgs args) { if (!Enabled || !Game.IsInGame || Game.CurrentMatchState != MatchState.InRound || LocalPlayer.Instance.CharName != "Jumong") { DebugOutput = ""; return; } if (LocalPlayer.Instance.AbilitySystem.IsCasting && !LocalPlayer.Instance.AbilitySystem.IsPostCasting) { if (_combo || MenuHandler.AimUserInput) { Aiming.GetTargetAndAim(); } } else if (_combo && (!LocalPlayer.Instance.AbilitySystem.IsCasting || LocalPlayer.Instance.AbilitySystem.IsPostCasting)) { Casting.CastLogic(); } }