Package games.stendhal.server.entity.npc

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


      }
    };

    mermaid.setEntityClass("marmaidnpc");
    mermaid.setPosition(8, 92);
    mermaid.initHP(100);
    mermaid.setDescription("You see Nicklesworth. Isn't she a lovely mermaid?");
    zone.add(mermaid);
  }
}
View Full Code Here


      }
    };

    groundskeeperNPC.setEntityClass("groundskeepernpc");
    groundskeeperNPC.setPosition(35, 13);
    groundskeeperNPC.initHP(1000);
    groundskeeperNPC.setDescription("You see Morgrin, the facility manager of the Magic City school. He is always busy and needs a helping hand.");
    zone.add(groundskeeperNPC);
  }
}
View Full Code Here

      }
    };

    trader.setEntityClass("koboldnpc");
    trader.setPosition(4, 4);
    trader.initHP(100);
    trader.setDescription("You see Wrvil. He can equip and maybe make you rich at the same time.");
    zone.add(trader);
  }
}
View Full Code Here

      npc.setPosition(14, 4);
      npc.setEntityClass("chaos_sorcerornpc");
      npc.setDirection(Direction.DOWN);
      npc.setDescription("You see Haastaja, the Challenger. He is a mighty Chaos Sorcerer.");
      npc.setLevel(600);
      npc.initHP(75);
      zone.add(npc);   
  }

  // Not made as an entity.npc.condition. file because the zone name depends on player here.
  private static final class AdventureZoneExistsCondition implements ChatCondition {
View Full Code Here

    };

    npc2.setOutfit(new Outfit(0, 27, 07, 34, 01));
    npc2.setPosition(21, 10);
    npc2.setDirection(Direction.LEFT);
    npc2.initHP(100);
    zone2.add(npc2);
  }


  /**
 
View Full Code Here

    };

    forger.setEntityClass("mithrilforgernpc");
    forger.setDirection(Direction.RIGHT);
    forger.setPosition(10, 12);
    forger.initHP(100);
    forger.setDescription("You see Pedinghaus. His clothes look like he seems to be talented in practicing magic...");
    zone.add(forger);
  }
}
View Full Code Here

      }
    };

    npc.setEntityClass("witchnpc");
    npc.setPosition(24, 7);
    npc.initHP(100);
    npc.setDescription("You see Jynath, the witch. She is riding on a broom.");
    zone.add(npc);
  }
}
View Full Code Here

    };

    npc.setDescription("You see Woody, an outdoorsy-looking fellow.");
    npc.setEntityClass("woodcutternpc");
    npc.setPosition(55, 84);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

    };

    npc.setDescription("You see Orchiwald, an albino elf.");
    npc.setEntityClass("albinoelf2npc");
    npc.setPosition(3, 12);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

        addGoodbye("... yawa dessap sah sgniht fo redro dlo ehT");
      }
    };
    npc.setEntityClass("grim_reaper2_npc");
    npc.setPosition(68, 76);
    npc.initHP(100);
    npc.setDescription("You see the repaeR mirG. His mirror will give you liberty.");
    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.