/// <summary> /// Checks if the given target is killable /// </summary> /// <param name="target"> /// The Target /// </param> /// <returns> /// The <see cref="bool" />. /// </returns> public static bool IsRendKillable(this Obj_AI_Base target) { if (target == null) { return(false); } var baseDamage = SpellManager.Spell[SpellSlot.E].GetDamage(target); if (target is AIHeroClient) { if (target.HasUndyingBuff() || target.Health < 1 || target.HasBuffOfType(BuffType.SpellShield)) { return(false); } if (target.HasBuff("meditate")) { baseDamage *= (0.5f - 0.05f * target.Spellbook.GetSpell(SpellSlot.W).Level); } } if (target is Obj_AI_Minion) { if (target.Name.Contains("Baron") && ObjectManager.Player.HasBuff("barontarget")) { baseDamage *= 0.5f; } //if (target.Name.Contains("Dragon") && ObjectManager.Player.HasBuff("s5test_dragonslayerbuff")) //{ // baseDamage *= (1f - (0.07f*ObjectManager.Player.GetBuffCount("s5test_dragonslayerbuff"))); //} HM??? } if (ObjectManager.Player.HasBuff("SummonerExhaustSlow")) { baseDamage *= 0.55f; } return((baseDamage - Kalista.getSliderItem(Kalista.miscMenu, "com.ikalista.misc.reduceE")) > target.GetHealthWithShield()); }