Exemplo n.º 1
0
        public SuccubusContractGump(Mobile from, SuccubusContract parentMC) : base(0, 0)
        {
            from.CloseGump(typeof(SuccubusContractGump));

            this.Closable   = true;
            this.Disposable = true;
            this.Dragable   = true;
            this.Resizable  = false;
            this.AddPage(0);
            this.AddBackground(125, 130, 300, 170, 5170);
            this.AddLabel(165, 165, 0, @"A Contract for: " + parentMC.AmountToKill + " " + parentMC.Monster);
            this.AddLabel(165, 185, 0, @"Amount Killed: " + parentMC.AmountKilled);
            this.AddLabel(165, 205, 0, @"Reward: A clue!");
            if (parentMC.AmountKilled != parentMC.AmountToKill)
            {
                this.AddButton(215, 235, 2061, 2062, 1, GumpButtonType.Reply, 0);
                this.AddLabel(229, 233, 0, @"Claim Corpse");
            }
            else
            {
                this.AddButton(215, 235, 2061, 2062, 2, GumpButtonType.Reply, 0);
                this.AddLabel(229, 233, 0, @"Claim Reward");
            }

            MCparent = parentMC;
        }
Exemplo n.º 2
0
 public MonsterCorpseTarget(SuccubusContract parentMC) : base(-1, true, TargetFlags.None)
 {
     MCparent = parentMC;
 }