Package org.moparscape.msc.gs.model

Examples of org.moparscape.msc.gs.model.Mob.resetCombat()


          player.isMining(false);
          if (opponent instanceof Npc) {
            Npc n = (Npc) opponent;
            n.unblock();
            opponent.resetCombat(CombatState.WAITING);
            if (n.getDef().aggressive) {
              player.setLastNpcChasingYou(n);
              Instance.getDelayedEventHandler().add(
                  new MiniEvent(player, 2000) {
                    public void action() {
View Full Code Here


                    }
                  });
            }

          } else {
            opponent.resetCombat(CombatState.WAITING);
          }
        } else {
          player.getActionSender()
              .sendMessage(
                  "You cannot retreat in the first 3 rounds of battle.");
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.