示例#1
0
        public override void OnSingleClick(Mobile from)
        {
            int hue = Notoriety.GetHue(Notoriety.ComputeCorpse(from, this));

            if (ItemID == 0x2006)                                                                              // Corpse form
            {
                from.Send(new MessageLocalized(Serial, ItemID, MessageType.Label, hue, 3, 1049144, "", Name)); // the remains of ~1_NAME~ the apprentice
            }
            else
            {
                from.Send(new MessageLocalized(Serial, ItemID, MessageType.Label, hue, 3, 1049145, "", ""));                 // the remains of a wizard's apprentice
            }
        }
示例#2
0
        public override void OnSingleClick(Mobile from)
        {
            int hue = Notoriety.GetHue(Notoriety.ComputeCorpse(from, this));

            if (ItemID == 0x2006)                                                                              // Corpse form
            {
                from.Send(new MessageLocalized(Serial, ItemID, MessageType.Label, hue, 3, 1049318, "", Name)); // the remains of ~1_NAME~ the militia fighter
            }
            else
            {
                from.Send(new MessageLocalized(Serial, ItemID, MessageType.Label, hue, 3, 1049319, "", ""));                 // the remains of a militia fighter
            }
        }
示例#3
0
        public override void OnSingleClick(Mobile from)
        {
            int hue = Notoriety.GetHue(Notoriety.ComputeCorpse(from, this));

            from.Send(new AsciiMessage(Serial, ItemID, MessageType.Label, hue, 3, "", "a charred corpse"));
        }