public static float GetMasteryDamage() { var d = 0f; if (ThunderLords.IsValid() && !Player.HasBuff("masterylordsdecreecooldown")) { d += 10 * Player.Level + .3f * Player.FlatPhysicalDamageMod + .1f * Player.TotalMagicalDamage; } return(d); }
public static float GetMasteryModifier() { var modifier = 1f; if (DoubleEdgedSword.IsValid()) { modifier += .03f; } if (Assasssin.IsValid() && Player.CountAlliesInRange(800) == 0) { modifier += .02f; } return(modifier); }