private double GetBonusDmg(Obj_AI_Base Target) { double DmgItem = 0; if (Sheen.IsOwned() && ((Sheen.IsReady() && W.IsReady()) || Player.HasBuff("Sheen")) && Player.BaseAttackDamage > DmgItem) { DmgItem = Player.BaseAttackDamage; } if (Trinity.IsOwned() && ((Trinity.IsReady() && W.IsReady()) || Player.HasBuff("Sheen")) && Player.BaseAttackDamage * 2 > DmgItem) { DmgItem = Player.BaseAttackDamage * 2; } return(((W.IsReady() || Player.HasBuff("JaxEmpowerTwo")) ? W.GetDamage(Target) : 0) + (RCount == 2 ? R.GetDamage(Target) : 0) + Player.GetAutoAttackDamage(Target, true) + Player.CalcDamage(Target, Damage.DamageType.Physical, DmgItem)); }
private double GetBonusDmg(Obj_AI_Base Target) { double DmgItem = 0; if (Sheen.IsOwned() && ((Sheen.IsReady() && Q.IsReady()) || Player.HasBuff("Sheen")) && Player.BaseAttackDamage > DmgItem) { DmgItem = Player.BaseAttackDamage; } if (Iceborn.IsOwned() && ((Iceborn.IsReady() && Q.IsReady()) || Player.HasBuff("ItemFrozenFist")) && Player.BaseAttackDamage * 1.25 > DmgItem) { DmgItem = Player.BaseAttackDamage * 1.25; } if (Trinity.IsOwned() && ((Trinity.IsReady() && Q.IsReady()) || Player.HasBuff("Sheen")) && Player.BaseAttackDamage * 2 > DmgItem) { DmgItem = Player.BaseAttackDamage * 2; } return((Q.IsReady() ? Q.GetDamage(Target) : 0) + Player.GetAutoAttackDamage(Target, Q.IsReady() ? false : true) + Player.CalcDamage(Target, Damage.DamageType.Physical, DmgItem)); }
private static double GetBonusDmg(Obj_AI_Base target) { var dmgItem = 0d; if (Sheen.IsOwned() && (Sheen.IsReady() || Player.HasBuff("Sheen"))) { dmgItem = Player.BaseAttackDamage; } if (Iceborn.IsOwned() && (Iceborn.IsReady() || Player.HasBuff("ItemFrozenFist"))) { dmgItem = Player.BaseAttackDamage * 1.25; } if (Trinity.IsOwned() && (Trinity.IsReady() || Player.HasBuff("Sheen"))) { dmgItem = Player.BaseAttackDamage * 2; } return((Q.IsReady() ? Q.GetDamage(target) : 0) + Player.GetAutoAttackDamage(target, true) + (dmgItem > 0 ? Player.CalcDamage(target, Damage.DamageType.Physical, dmgItem) : 0)); }
private static double GetBonusDmg(Obj_AI_Base target) { var dmgItem = 0d; if (Sheen.IsOwned() && (Sheen.IsReady() || Player.HasBuff("Sheen"))) { dmgItem = Player.BaseAttackDamage; } if (Trinity.IsOwned() && (Trinity.IsReady() || Player.HasBuff("Sheen"))) { dmgItem = Player.BaseAttackDamage * 2; } var dmgR = 0d; var pBuff = Player.GetBuffCount("JaxRelentlessAssaultAS"); if (R.Level > 0 && !(target is Obj_AI_Turret) && (pBuff == 2 || pBuff >= 5)) { dmgR = R.GetDamage(target); } return(dmgR + (W.IsReady() || HaveW ? W.GetDamage(target) : 0) + Player.GetAutoAttackDamage(target, true) + (dmgItem > 0 ? Player.CalcDamage(target, Damage.DamageType.Physical, dmgItem) : 0)); }
private double GetBonusDmg(Obj_AI_Base target) { double dmgItem = 0; if (Sheen.IsOwned() && (Sheen.IsReady() || Player.HasBuff("Sheen")) && Player.BaseAttackDamage > dmgItem) { dmgItem = Player.BaseAttackDamage; } if (Trinity.IsOwned() && (Trinity.IsReady() || Player.HasBuff("Sheen")) && Player.BaseAttackDamage * 2 > dmgItem) { dmgItem = Player.BaseAttackDamage * 2; } double dmgR = 0; var pBuff = Player.Buffs.FirstOrDefault(i => i.DisplayName == "JaxRelentlessAssaultAS"); if (R.Level > 0 && !(target is Obj_AI_Turret) && pBuff != null && (pBuff.Count == 2 || pBuff.Count >= 5)) { dmgR = R.GetDamage(target); } return(dmgR + (W.IsReady() || HaveW ? W.GetDamage(target) : 0) + Player.GetAutoAttackDamage(target, true) + (dmgItem > 0 ? Player.CalcDamage(target, Damage.DamageType.Physical, dmgItem) : 0)); }