Example #1
0
        public Creature()
        {
            CurrentHP = 150;
            MaxHP = 150;
            ID = lastID++;
            Access = Constants.ACCESS_NORMAL;
            CharType = 1;
            CurrentDirection = Direction.SOUTH;
            CurrentHealthStatus = HealthStatus.HEALTHY;
            Name = "None";
            OutfitUpper = 0x88;
            OutfitMiddle = 0x88;
            OutfitLower = 0x35;
            LogedIn = false;
            CurrentWalkSettings = new WalkSettings();
            Corpse = 437; //TODO: Move away from hard coding
            Invisible = false;
            Polymorph = 0;
            AddType(Constants.TYPE_BLOCKING | Constants.TYPE_BLOCKS_AUTO_WALK
                | Constants.TYPE_BLOCKS_MONSTERS);
            CurrentFightMode = FightMode.NORMAL;
            CurrentFightStance = FightStance.CHASE;
            AddType(Constants.TYPE_CREATURE);

            LastWalk = new Elapser(0);
        }
Example #2
0
        public Creature()
        {
            CurrentHP           = 150;
            MaxHP               = 150;
            ID                  = lastID++;
            Access              = Constants.ACCESS_NORMAL;
            CharType            = 1;
            CurrentDirection    = Direction.SOUTH;
            CurrentHealthStatus = HealthStatus.HEALTHY;
            Name                = "None";
            OutfitUpper         = 0x88;
            OutfitMiddle        = 0x88;
            OutfitLower         = 0x35;
            LogedIn             = false;
            CurrentWalkSettings = new WalkSettings();
            Corpse              = 437; //TODO: Move away from hard coding
            Invisible           = false;
            Polymorph           = 0;
            AddType(Constants.TYPE_BLOCKING | Constants.TYPE_BLOCKS_AUTO_WALK
                    | Constants.TYPE_BLOCKS_MONSTERS);
            CurrentFightMode   = FightMode.NORMAL;
            CurrentFightStance = FightStance.CHASE;
            AddType(Constants.TYPE_CREATURE);

            LastWalk = new Elapser(0);
        }