Пример #1
0
        public Creature(AceCreatureStaticLocation aceC)
            : base((ObjectType)aceC.CreatureData.TypeId,
                   new ObjectGuid(CommonObjectFactory.DynamicObjectId, GuidType.Creature),
                   aceC.CreatureData.Name,
                   aceC.WeenieClassId,
                   (ObjectDescriptionFlag)aceC.CreatureData.WdescBitField,
                   (WeenieHeaderFlag)aceC.CreatureData.WeenieFlags,
                   aceC.Position)
        {
            if (aceC.WeenieClassId < 0x8000u)
            {
                this.WeenieClassid = aceC.WeenieClassId;
            }
            else
            {
                this.WeenieClassid = (ushort)(aceC.WeenieClassId - 0x8000);
            }

            SetObjectData(aceC.CreatureData);
            SetAbilities(aceC.CreatureData);
        }
Пример #2
0
 public Monster(AceCreatureStaticLocation aceC) : base(aceC)
 {
 }