From: ChadF <ch...@us...> - 2007-07-29 19:21:42
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/ados/hauntedhouse In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv23721/src/games/stendhal/server/maps/ados/hauntedhouse Modified Files: WomanGhostNPC.java Log Message: Server side half of per-entity client-side obstacles. *** NEEDS THOROUGH IN-GAME TESTING INCASE SOMETHING UNEXPECTED BROKE *** Index: WomanGhostNPC.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/ados/hauntedhouse/WomanGhostNPC.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** WomanGhostNPC.java 11 Jul 2007 15:36:59 -0000 1.5 --- WomanGhostNPC.java 29 Jul 2007 19:21:33 -0000 1.6 *************** *** 37,46 **** private void buildNPC(StendhalRPZone zone, Map<String, String> attributes) { SpeakerNPC woman = new SpeakerNPC("Carena") { - - // she has no collisions - @Override - public boolean isObstacle(Entity entity) { - return false; - } @Override protected void createPath() { --- 37,40 ---- *************** *** 73,81 **** }; woman.setDescription("You see a ghostly figure of a woman. She appears somehow sad."); npcs.add(woman); zone.assignRPObjectID(woman); woman.put("class", "woman_011_npc"); // She is a ghost so she is see through ! woman.put("visibility",40); woman.set(3, 3); // She has low HP --- 67,77 ---- }; woman.setDescription("You see a ghostly figure of a woman. She appears somehow sad."); + woman.setObstacle(false); + npcs.add(woman); zone.assignRPObjectID(woman); woman.put("class", "woman_011_npc"); // She is a ghost so she is see through ! woman.setVisibility(40); woman.set(3, 3); // She has low HP |