private static void ObjAiBaseOnBuffGain(Obj_AI_Base sender, Obj_AI_BaseBuffGainEventArgs args) { // Cast Challenging Smite in Ult if (SettingsModes.Combo.UseSmite && sender.IsEnemy && sender is AIHeroClient && SpellManager.HasChallengingSmite() && args.Buff.Name.Equals("suppression") && args.Buff.SourceName.Equals("Warwick") && SettingsModes.Combo.UseSmite && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { SpellManager.Smite.Cast(sender); Debug.WriteChat("Casting Smite in combo with ult."); } }