protected void respawn(){
  try {
    final Creature newentity=prototypeCreature.getNewInstance();
    newentity.setAtk(Rand.randGaussian(newentity.getAtk(),newentity.getAtk() / 10));
    newentity.setDef(Rand.randGaussian(newentity.getDef(),newentity.getDef() / 10));
    newentity.registerObjectsForNotification(observers);
    if (StendhalRPAction.placeat(zone,newentity,x,y)) {
      newentity.init();
      newentity.setRespawnPoint(this);
      creatures.add(newentity);
    }
 else {
      notifyDead(newentity);
      logger.warn("Could not respawn " + newentity.getName() + " near "+ zone.getName()+ " "+ x+ " "+ y);
    }
  }
 catch (  final Exception e) {
    logger.error("error respawning entity " + prototypeCreature,e);
  }
}

protected void respawn ( ) { try { final Creature newentity = prototypeCreature . getNewInstance ( ) ; newentity . setAtk ( Rand . randGaussian ( newentity . getAtk ( ) , newentity . getAtk ( ) / 10 ) ) ; newentity . setDef ( Rand . randGaussian ( newentity . getDef ( ) , newentity . getDef ( ) / 10 ) ) ; newentity . registerObjectsForNotification ( observers ) ; if ( StendhalRPAction . placeat ( zone , newentity , x , y ) ) { newentity . init ( ) ; newentity . setRespawnPoint ( this ) ; creatures . add ( newentity ) ; } else { notifyDead ( newentity ) ; logger . warn ( "Could not respawn " + newentity . getName ( ) + " near " + zone . getName ( ) + " " + x + " " + y ) ; } } catch ( final Exception e ) { logger . error ( "error respawning entity " + prototypeCreature , e ) ; } }
pops up a new creature .
