Example #1
0
        public static void Initialize()
        {
            if (TramInstance == null)
            {
                TramInstance = new PaladinCorpse();
                TramInstance.MoveToWorld(new Point3D(5396, 118, 0), Map.Trammel);
            }

            if (FelInstance == null)
            {
                FelInstance = new PaladinCorpse();
                FelInstance.MoveToWorld(new Point3D(5396, 118, 0), Map.Felucca);
            }
        }
Example #2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int v = reader.ReadInt();

            if (Map == Map.Trammel)
            {
                TramInstance = this;
            }
            else if (Map == Map.Felucca)
            {
                FelInstance = this;
            }
        }