Beispiel #1
0
        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());
        }
Beispiel #2
0
        public bool Roll(Mobile from, double baitStr, double bump)
        {
            double baseChance = MagicalFishFinder.HasSchool(from) ? BaseChance * 10 : BaseChance;

            return((baseChance + bump) * baitStr > Utility.RandomDouble());
        }