Example #1
0
        public Goo(BottleOfGoo owner)
            : base()
        {
            m_OwnerBottle = owner;

            BodyValue = 51;
            BaseSoundID = 456;
            Hue = 0x14;
            Name = "Goo";

            RawStr = 5;
            RawDex = 5;
            RawInt = 5;
            Stam = 5;
            SetHits(5);

            Fame = 0;
            Lives = -100;
            Criminal = true;
            RemoveLoot = true;
        }
Example #2
0
 public override void Deserialize(GenericReader reader)
 {
     base.Deserialize(reader);
     int version = reader.ReadInt();
     m_OwnerBottle = (BottleOfGoo)reader.ReadItem();
 }
Example #3
0
 public BottleOfGooTarget(BottleOfGoo owner, Mobile g)
     : base(2,false,TargetFlags.None)
 {
     m_OwnerBottle = owner; // Throws the parent BottleOfGoo to the class, allowing us to use its properties as well as read back to them.
     m_Goo = m_OwnerBottle.GetGoo(); // Sets the m_Goo to the parent BottleOfGoo's goo.
 }