Ejemplo n.º 1
0
        public CarpentersCraftsmanSatchel()
            : base()
        {
            if (Items.Count < 2 && 0.5 > Utility.RandomDouble())
            {
                AddItem(Reward.CarpRecipe());
            }

            double random = Utility.RandomDouble();

            if (random < 0.0001)               // 1 in 10.000 to receive Heartwood runic
            {
                AddItem(new RunicDovetailSaw(CraftResource.Heartwood, 15));
            }
            else if (random < 0.0003)               // 1 in 5.000 to receive Yew runic
            {
                AddItem(new RunicDovetailSaw(CraftResource.Yew, 25));
            }
            else if (random < 0.0008)               // 1 in 2.000 to receive Ash runic
            {
                AddItem(new RunicDovetailSaw(CraftResource.Ash, 35));
            }
            else if (random < 0.0028)               // 1 in 500 to receive Oak runic
            {
                AddItem(new RunicDovetailSaw(CraftResource.Oak, 45));
            }
        }
Ejemplo n.º 2
0
 public Recipebag(int amount)
 {
     DropItem(Reward.FletcherRecipe());
     DropItem(Reward.TailorRecipe());
     DropItem(Reward.SmithRecipe());
     DropItem(Reward.TinkerRecipe());
     DropItem(Reward.CarpRecipe());
 }
Ejemplo n.º 3
0
        public CarpentersCraftsmanSatchel() : base()
        {
            if (Items.Count < 2 && 0.5 > Utility.RandomDouble())
            {
                AddItem(Reward.CarpRecipe());
            }

            if (0.01 > Utility.RandomDouble())
            {
                AddItem(Reward.CarpRunic());
            }
        }