示例#1
0
  @Override
  public void unInvoke() {
    if (!(affected instanceof MOB)) return;
    final MOB mob = (MOB) affected;

    super.unInvoke();
    if (canBeUninvoked()) mob.tell(L("You stop pondering life and the mysteries of the universe."));
  }
示例#2
0
  public void unInvoke() {
    // undo the affects of this spell
    if ((affected == null) || (!(affected instanceof MOB))) return;
    MOB mob = (MOB) affected;

    super.unInvoke();

    if (canBeUninvoked()) mob.tell("The paralysis eases out of your muscles.");
  }
示例#3
0
 @Override
 public void unInvoke() {
   if (affected == null) return;
   final MOB mob = (MOB) affected;
   if (canBeUninvoked()) {
     if (!mob.amDead()) spreadImmunity(mob);
     mob.tell(L("The contagion fades."));
   }
   super.unInvoke();
 }
  @Override
  public void unInvoke() {
    // undo the affects of this spell
    if (!(affected instanceof MOB)) return;
    final MOB mob = (MOB) affected;

    super.unInvoke();

    if (canBeUninvoked()) mob.tell(L("The aura of fire healing around you fades."));
  }
示例#5
0
  @Override
  public void unInvoke() {
    // undo the affects of this spell
    if (!(affected instanceof MOB)) return;
    final MOB mob = (MOB) affected;

    super.unInvoke();

    if (canBeUninvoked()) mob.tell(L("The unholy word has been spoken."));
  }
  @Override
  public void unInvoke() {
    // undo the affects of this spell
    if (!(affected instanceof MOB)) return;
    final MOB mob = (MOB) affected;

    super.unInvoke();

    if (canBeUninvoked()) mob.tell(L("Your natural defences against curses take over."));
  }
示例#7
0
  @Override
  public void unInvoke() {
    // undo the affects of this spell
    if ((affected == null) || (!(affected instanceof Room))) return;
    final Room R = (Room) affected;

    super.unInvoke();

    if (canBeUninvoked())
      R.showHappens(CMMsg.MSG_OK_VISUAL, L("The harmful aura around you fades."));
  }
  @Override
  public void unInvoke() {
    // undo the affects of this spell
    if (!(affected instanceof MOB)) return;
    final MOB M = (MOB) affected;

    super.unInvoke();

    if ((canBeUninvoked()) && (M != null) && (!M.amDead()) && (M.location() != null))
      M.location()
          .show(M, null, CMMsg.MSG_OK_VISUAL, L("The aura of strife around <S-NAME> fades."));
  }
示例#9
0
 public void unInvoke() {
   if (canBeUninvoked()) {
     if (newRoom != null) {
       newRoom.showHappens(CMMsg.MSG_OK_VISUAL, "The divine gateway closes.");
       newRoom.rawDoors()[Directions.GATE] = null;
       newRoom.setRawExit(Directions.GATE, null);
     }
     if (oldRoom != null) {
       oldRoom.showHappens(CMMsg.MSG_OK_VISUAL, "The divine gateway closes.");
       oldRoom.rawDoors()[Directions.GATE] = null;
       oldRoom.setRawExit(Directions.GATE, null);
     }
   }
   super.unInvoke();
 }
 @Override
 public void unInvoke() {
   final Physical P = affected;
   super.unInvoke();
   if ((P instanceof MOB) && (this.canBeUninvoked) && (this.unInvoked)) {
     if ((!P.amDestroyed()) && (((MOB) P).amFollowing() == null)) {
       final Room R = CMLib.map().roomLocation(P);
       if (CMLib.law().getLandOwnerName(R).length() == 0) {
         if (!CMLib.law().doesHavePriviledgesHere(invoker(), R)) {
           if ((R != null) && (!((MOB) P).amDead()))
             R.showHappens(CMMsg.MSG_OK_ACTION, P, L("<S-NAME> wander(s) off."));
           P.destroy();
         }
       }
     }
   }
 }
 @Override
 public void unInvoke() {
   final MOB M = (MOB) affected;
   super.unInvoke();
   if (canBeUninvoked()) M.tell(L("Your compelled faith is finally subsided."));
 }