Package games.stendhal.server.entity.npc

Examples of games.stendhal.server.entity.npc.SpeakerNPC.initHP()


      }
    };

    npc.setEntityClass("youngsoldiernpc");
    npc.setPosition(15, 26);
    npc.initHP(100);
    npc.setDescription("You see Thonatus, recruiter for the Ados Deathmatch. You are lucky that you find him, he is fast normally.");
    zone.add(npc);
  }
}
View Full Code Here


    };

    npc.setEntityClass("welcomernpc");
    npc.setDescription("You see Eonna. She is a lovely housewife and scared to death of rats!");
    npc.setPosition(4, 13);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

    };

    npc.setDescription("You see a friendly looking elderly wizard.");
    npc.setEntityClass("friendlywizardnpc");
    npc.setPosition(99, 111);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

    };

    npc.setDescription("You see a bored looking guard.");
    npc.setEntityClass("recruiter1npc");
    npc.setPosition(62, 105);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

    mcpegleg.setDescription("You see a dubious man with a patched eye and a wooden leg.");

    // Add our new NPC to the game world
    mcpegleg.setEntityClass("pirate_sailornpc");
    mcpegleg.setPosition(16, 3);
    mcpegleg.initHP(100);
    zone.add(mcpegleg);
  }
}
View Full Code Here

    ghost.setEntityClass("kid7npc");
    // He is a ghost so he is see through
    ghost.setVisibility(50);
    ghost.setPosition(34, 121);
    // He has low HP
    ghost.initHP(30);
    ghost.setBaseHP(100);
    zone.add(ghost);
  }
}
View Full Code Here

    npc.setDescription("You see Barbarus. He looks dirty and sweats quite much. His face and arms are nearly black because they are covered with dust.");
    npc.setEntityClass("minernpc");
    npc.setPosition(70, 115);
    npc.setDirection(Direction.RIGHT);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

    };

    npc.setDescription("You see a rather harried school marm. She really has her hands full with these little assassins.");
    npc.setEntityClass("woman_014_npc");
    npc.setPosition(7, 3);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

    };

    oldnpc.setDirection(Direction.DOWN);
    oldnpc.setEntityClass("elfbankeroldnpc");
    oldnpc.setPosition(13, 17);
    oldnpc.initHP(100);
    zone.add(oldnpc);
  }

  //
  // Ariannyddion is welsh for bank, so ...
View Full Code Here

    };

    npc.setDescription("You see a regal elf. Something about him makes you uneasy.");
    npc.setEntityClass("elfmayornpc");
    npc.setPosition(9, 23);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.