public Npc(int id) {
		    this.id = id;
            npcDef = NpcData.forId(id);
            skills = new NpcSkills(this);
            skills.setMaxLevel(NpcSkills.SKILL.HITPOINTS, npcDef.getHitpoints()); //this must be first.
            skills.setCurLevel(NpcSkills.SKILL.HITPOINTS, npcDef.getHitpoints());
		    this.setWalkType(WalkType.RANGE);
		    this.faceDirection = FaceDirection.NORTH;
            this.updateFlags = new AppearanceUpdateFlags(this);
	    }
 public Npc(int id)
 {
     this.id = id;
     npcDef  = NpcData.forId(id);
     skills  = new NpcSkills(this);
     skills.setMaxLevel(NpcSkills.SKILL.HITPOINTS, npcDef.getHitpoints()); //this must be first.
     skills.setCurLevel(NpcSkills.SKILL.HITPOINTS, npcDef.getHitpoints());
     this.setWalkType(WalkType.RANGE);
     this.faceDirection = FaceDirection.NORTH;
     this.updateFlags   = new AppearanceUpdateFlags(this);
 }