private static float SyndraHalfDamage(AIHeroClient target) { float x = 0; if (Player.Mana > Q.Instance.SData.Mana) { if (Q.IsReady()) { x += Qdamage(target); } if (Player.Mana > Q.Instance.SData.Mana) { if (Player.Mana > Q.Instance.SData.Mana + E.Instance.SData.Mana) { if (E.IsReady()) { x += Edamage(target); } if (Player.Mana > Q.Instance.SData.Mana + E.Instance.SData.Mana + W.Instance.SData.Mana) { if (W.IsReady()) { x += Wdamage(target); } } } } } if (LudensEcho.IsReady()) { x = x + (float)Player.CalcDamage(target, Damage.DamageType.Magical, 100 + 0.1 * Player.FlatMagicDamageMod); } return(x); }
private static float TwistedFateDamage(AIHeroClient target) { var Qdamage = (float)Player.GetSpellDamage(target, Q.Slot); var Wdamage = (float)Player.GetSpellDamage(target, W.Slot); float x = 0; if ((W.IsReady() || HasACard != "none") && Q.IsReady()) { if ((Player.Mana >= Q.Instance.SData.Mana + W.Instance.SData.Mana) || (Player.Mana >= Q.Instance.SData.Mana && HasACard != "none")) { x = x + Qdamage + Wdamage; } else if (Player.Mana >= Q.Instance.SData.Mana) { x = x + Qdamage; } else if (Player.Mana >= W.Instance.SData.Mana || HasACard != "none") { x = x + Wdamage; } } else if (Q.IsReady()) { x = x + Qdamage; } else if (W.IsReady() || HasACard != "none") { x = x + Wdamage; } if (LichBane.IsReady()) { x = x + (float)Player.CalcDamage(target, Damage.DamageType.Magical, 0.75 * Player.BaseAttackDamage + 0.5 * Player.FlatMagicDamageMod); } else if (TrinityForce.IsReady()) { x = x + (float)Player.CalcDamage(target, Damage.DamageType.Magical, 2 * Player.BaseAttackDamage); } else if (IcebornGauntlet.IsReady()) { x = x + (float)Player.CalcDamage(target, Damage.DamageType.Magical, 1.25 * Player.BaseAttackDamage); } else if (Sheen.IsReady()) { x = x + (float)Player.CalcDamage(target, Damage.DamageType.Magical, 1 * Player.BaseAttackDamage); } if (LudensEcho.IsReady()) { x = x + (float)Player.CalcDamage(target, Damage.DamageType.Magical, 100 + 0.1 * Player.FlatMagicDamageMod); } x = x + (float)Player.GetAutoAttackDamage(target, true); return(x); }
private static float AhriDamage(Obj_AI_Hero target) { float x = 0; if (Player.Mana > Q.Instance.ManaCost) { if (Q.IsReady()) { x += Qdamage(target); } if (Player.Mana > Q.Instance.ManaCost + R.Instance.ManaCost) { if (R.IsReady()) { x += Rdamage(target); } if (Player.Mana > Q.Instance.ManaCost + R.Instance.ManaCost + E.Instance.ManaCost) { if (E.IsReady()) { x += Edamage(target); } if (Player.Mana > Q.Instance.ManaCost + R.Instance.ManaCost + E.Instance.ManaCost + W.Instance.ManaCost) { if (W.IsReady()) { x += Wdamage(target); } } } } } if (LudensEcho.IsReady()) { x = x + (float)Player.CalcDamage(target, Damage.DamageType.Magical, 100 + 0.1 * Player.FlatMagicDamageMod); } if (Ignite.IsReady()) { x = x + (float)Player.GetSpellDamage(target, Ignite); } x = x + (float)Player.GetAutoAttackDamage(target, true); return(x); }
private static float SyndraDamage(AIHeroClient target) { float x = 0; if (Player.Mana > Q.Instance.SData.Mana) { if (Q.IsReady()) { x += Qdamage(target); } if (Player.Mana > Q.Instance.SData.Mana + R.Instance.SData.Mana) { if (R.IsReady()) { x += Rdamage(target) * (SyndraOrb.Count + 1); } if (Player.Mana > Q.Instance.SData.Mana + R.Instance.SData.Mana + E.Instance.SData.Mana) { if (E.IsReady()) { x += Edamage(target); } if (Player.Mana > Q.Instance.SData.Mana + R.Instance.SData.Mana + E.Instance.SData.Mana + W.Instance.SData.Mana) { if (W.IsReady()) { x += Wdamage(target); } } } } } if (LudensEcho.IsReady()) { x = x + (float)Player.CalcDamage(target, Damage.DamageType.Magical, 100 + 0.1 * Player.FlatMagicDamageMod); } x = x + (float)Player.GetAutoAttackDamage(target, true); return(x); }