Ejemplo n.º 1
0
        static BaseCreature GetOstardByChance()
        {
            // From ZHA scripts, 50% fail chance
            if (Utility.Random(1, 2) == 1)
            {
                return(null);
            }

            return(WeightedOstards.GetRandom());
        }
Ejemplo n.º 2
0
 static BaseCreature GetDragonByChance()
 {
     // 25% chance to spawn color dragons
     if (Utility.RandomMinMax(1, 5) == 5)
     {
         return(WeightedDragons.GetRandom());
     }
     // 75% chance to spawn regular dragon or drake
     else
     {
         return(WeightedStandardDragons.GetRandom());
     }
 }
Ejemplo n.º 3
0
 static BaseCreature GetOstardByChance()
 {
     return(WeightedOstards.GetRandom());
 }