public static float GetTotalDamage(Karthus instance, AIHeroClient target) { // Auto attack var damage = Player.Instance.GetAutoAttackDamage(target); // Q if (instance.SpellHandler.Q.IsReady()) { damage += instance.SpellHandler.Q.GetRealDamage(target); } // E if (instance.SpellHandler.E.IsReady() && instance.SpellHandler.E.IsInRange(target)) { damage += instance.SpellHandler.E.GetRealDamage(target); } // R if (instance.SpellHandler.R.IsReady()) { damage += instance.SpellHandler.R.GetRealDamage(target); } return(damage); }
private static void OnLoad() { if (ObjectManager.GetLocalPlayer().ChampionName == "Karthus") { Console.WriteLine("Karthus Loaded."); var Karthus = new Karthus(); } }
public UltimateAlerter(Karthus instance) { // Initialize properties Instance = instance; // Listen to required events Drawing.OnDraw += OnDraw; }
public SpellHandler(Karthus instance, Spell.Skillshot q = null, Spell.Skillshot w = null, Spell.Active e = null, Spell.Active r = null) { // Initialize properties Instance = instance; Q = q; W = w; E = e; R = r; }
private static void GameEvents_GameStart() { if (ObjectManager.GetLocalPlayer().ChampionName != "Karthus") { return; } var Karthus = new Karthus(); }
public ModeHandler(Karthus instance) { // Initialize properties Instance = instance; Modes = new List <ModeBase> { new PermaActive(instance), new Combo(instance), new Harass(instance), new LaneClear(instance), new JungleFarming(instance) }; }
protected ModeBase(Karthus instance) { // Initialize properties Instance = instance; }