Ejemplo n.º 1
0
        public ConfirmBankPointsGump(PlayerMobile user, Mobile owner, BODType type, int points, double banked)
            : base(user, 1157076, 1157077, new object[] { points, banked, type, owner }, string.Format("{0}\t{1}", banked.ToString("0.000000"), points.ToString()), OnSave, OnClaim)
        {
            Closable = false;
            user.CloseGump(typeof(ConfirmBankPointsGump));

            Points  = points;
            Banked  = banked;
            BODType = type;

            Owner = owner;

            Rectangle2D rec = ItemBounds.Table[0x2258];

            AddItem(115 + rec.Width / 2 - rec.X, 110 + rec.Height / 2 - rec.Y, 0x2258, BulkOrderSystem.GetBodHue(BODType));
        }
Ejemplo n.º 2
0
        public ConfirmBankPointsGump(PlayerMobile user, Mobile owner, BODType type, int points, double banked)
            : base(user, 1157076, 1157077, new object[] { points, banked, type, owner }, String.Format("{0}\t{1}", banked.ToString("0.000000"), points.ToString()), OnSave, OnClaim)
        {
            Closable = false;
            user.CloseGump(typeof(ConfirmBankPointsGump));

            Points       = points;
            Banked       = banked;
            this.BODType = type;

            Owner = owner;

            Rectangle2D rec = ItemBounds.Table[0x2258];

            AddItem(115 + rec.Width / 2 - rec.X, 110 + rec.Height / 2 - rec.Y, 0x2258, BulkOrderSystem.GetBodHue(this.BODType));

            #region Level System Mod
            Configured c = new Configured();
            if (c.GainExpFromBods == true)
            {
                LevelHandler.BodGainEXP(user, (int)points);
            }
            #endregion
        }