コード例 #1
0
    /** Method runImpl. */
    @Override
    public void runImpl() {
      if (_activeChar.isDead()) {
        return;
      }

      if (!_activeChar.isVisible()) {
        return;
      }

      broadcastPacket(new NpcSay(SepulcherMonsterInstance.this, ChatType.ALL, "forgive me!!"));
    }
コード例 #2
0
    /** Method runImpl. */
    @Override
    public void runImpl() {
      if (_activeChar.isDead()) {
        return;
      }

      if (!_activeChar.isVisible()) {
        return;
      }

      FourSepulchersSpawn.spawnKeyBox(_activeChar);
      broadcastPacket(
          new NpcSay(SepulcherMonsterInstance.this, ChatType.ALL, "Many thanks for rescue me."));

      if (_victimShout != null) {
        _victimShout.cancel(false);
        _victimShout = null;
      }
    }