Ejemplo n.º 1
0
        public static LargeHuntBOD CreateRandomFor(Mobile m, double skill)
        {
            int curLevel  = 0;
            int levelMax  = 0;
            int amountMax = 0;

            HuntBodUtility.GetLargeBodProps(skill, out levelMax, out amountMax);

            LargeHuntBOD largeBod = new LargeHuntBOD(amountMax, false, 0, null);

            largeBod.Entries  = LargeBulkEntry.ConvertEntries(largeBod, HuntBodUtility.GetLargeEntry(out curLevel, levelMax));
            largeBod.Material = (BulkMaterialType)curLevel;

            return(largeBod);
        }
Ejemplo n.º 2
0
        public LargeHuntBOD()
        {
            int curLevel  = 0;
            int levelMax  = 0;
            int amountMax = 0;

            HuntBodUtility.GetLargeBodProps(Utility.RandomMinMax(80, 120), out levelMax, out amountMax);
            LargeBulkEntry[] entries = LargeBulkEntry.ConvertEntries(this, HuntBodUtility.GetLargeEntry(out curLevel, levelMax));

            this.Hue                = HuntBodUtility.HuntBodDeedHue;
            this.AmountMax          = amountMax;
            this.Entries            = entries;
            this.RequireExceptional = false;
            this.Material           = (BulkMaterialType)curLevel;
        }