Examples of initHP()


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

      }
    };

    npc.setEntityClass("beardmannpc");
    npc.setPosition(4, 47);
    npc.initHP(100);
    npc.setDescription("You see Bario. His face is a bit blue and his knees are shaking.");
    zone.add(npc);
  }
}
View Full Code Here

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

    ghost.setEntityClass("deadmannpc");
    // he is a ghost so he is see through
    ghost.setVisibility(70);
    ghost.setPosition(216, 127);
    // he has low HP
    ghost.initHP(30);
    ghost.setBaseHP(100);
    zone.add(ghost);
  }
}
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.