public bool Roll(Mobile from, Type bait, bool enhanced, double bump) { var baitStr = GetBaitStrength(bait, from, enhanced); double baseChance = MagicalFishFinder.HasSchool(from) ? BaseChance * 10 : BaseChance; return((baseChance + bump) * baitStr > Utility.RandomDouble()); }
public bool Roll(Mobile from, double baitStr, double bump) { double baseChance = MagicalFishFinder.HasSchool(from) ? BaseChance * 10 : BaseChance; return((baseChance + bump) * baitStr > Utility.RandomDouble()); }