Package games.stendhal.server.entity.npc

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


    ghost.setEntityClass("woman_005_npc");
    // she is a ghost so she is see through
    ghost.setVisibility(50);
    ghost.setPosition(65, 74);
    // she has low HP
    ghost.initHP(30);
    ghost.setBaseHP(100);
    zone.add(ghost);
  }
}
View Full Code Here


    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

    ghost.setEntityClass("man_000_npc");
    // he is a ghost so he is see through
    ghost.setVisibility(50);
    ghost.setPosition(3, 4);
    // 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.