Examples of incExp()


Examples of org.moparscape.msc.gs.model.Player.incExp()

          case 3:
            attackerPlayer.incExp(1, exp * 3, true, true);
            attackerPlayer.getActionSender().sendStat(1);
            break;
          }
          attackerPlayer.incExp(3, exp, true, true);
          attackerPlayer.getActionSender().sendStat(3);
        }
      }
      // if the dead mob isn't a player...
      if (!(affectedMob instanceof Player)) {
View Full Code Here

Examples of org.moparscape.msc.gs.model.Player.incExp()

      }
      if (player.getInventory().remove(141, 1, false)
          && player.getInventory().remove(143, 1, false)) {
        int rand = Formulae.Rand(0, 4);
        if (rand == 2) {
          player.incExp(7, 55, true);
          player.getInventory().add(180, 1, false);
          player.getActionSender()
              .sendMessage(
                  "You mix the grapes, and accidentally create Bad wine!");
        } else {
View Full Code Here

Examples of org.moparscape.msc.gs.model.Player.incExp()

          player.getInventory().add(180, 1, false);
          player.getActionSender()
              .sendMessage(
                  "You mix the grapes, and accidentally create Bad wine!");
        } else {
          player.incExp(7, 110, true);
          player.getInventory().add(142, 1, false);
          player.getActionSender()
              .sendMessage(
                  "You mix the grapes with the water and create wine!");
        }
View Full Code Here

Examples of org.moparscape.msc.gs.model.Player.incExp()

        && item2.id == 325) {
      if (player.getCurStat(7) > 54) {
        if (player.getInventory().remove(352, 1, false)
            && player.getInventory().remove(325, 1, false)) {
          player.getInventory().add(327, 1, false);
          player.incExp(7, 110, true);
          player.getActionSender().sendStat(7);
          player.getActionSender().sendMessage(
              "You create an Anchovie Pizza.");
          player.getActionSender().sendInventory();
          return;
View Full Code Here

Examples of org.moparscape.msc.gs.model.Player.incExp()

        && item2.id == 325) {
      if (player.getCurStat(7) > 44) {
        if (player.getInventory().remove(132, 1, false)
            && player.getInventory().remove(325, 1, false)) {
          player.getInventory().add(326, 1, false);
          player.incExp(7, 110, true);
          player.getActionSender().sendStat(7);
          player.getActionSender().sendMessage(
              "You create a Meat Pizza.");
          player.getActionSender().sendInventory();
          return;
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.