Examples of toQuestString()


Examples of games.stendhal.server.maps.deathmatch.DeathmatchState.toQuestString()

      if (killerName.equals(playerName)) {
        points = (int) (killer.getLevel()
          * ((float) damageDone / (float) totalDamageReceived));
        final DeathmatchState deathmatchState = DeathmatchState.createFromQuestString(killer.getQuest("deathmatch"));
        deathmatchState.addPoints(points);
        killer.setQuest("deathmatch", deathmatchState.toQuestString());
      }
     
      // For some quests etc., it is required that the player kills a
      // certain creature without the help of others.
      // Find out if the player killed this RPEntity on his own, but
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.