Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Player.processQuestEvent()


     
      QuestState qs = player.getQuestState(_10301_ShadowOfTerrorBlackishRedFog.class);
      if(qs != null && qs.getCond() == 3 && player.getVar("instance10301") == null)
      {
        Quest q = QuestManager.getQuest(10301);
        player.processQuestEvent(q.getName(), "enterInstance", null);
        //player.setVar("instance10301", "true", -1);
        return;
      }
      if (!player.getVarB("@25_20_telzone_to_magmeld"))
      {
View Full Code Here


      return;
    }
    Quest q = QuestManager.getQuest(255);
    if (q != null)
    {
      player.processQuestEvent(q.getName(), _bypass, null);
    }
  }
}
View Full Code Here

      {
        String p = bp.bypass.substring(6).trim();
        int idx = p.indexOf(' ');
        if (idx < 0)
        {
          activeChar.processQuestEvent(p, "", npc);
        }
        else
        {
          activeChar.processQuestEvent(p.substring(0, idx), p.substring(idx).trim(), npc);
        }
View Full Code Here

        {
          activeChar.processQuestEvent(p, "", npc);
        }
        else
        {
          activeChar.processQuestEvent(p.substring(0, idx), p.substring(idx).trim(), npc);
        }
      }
      else if (bp.bypass.startsWith("Campaign "))
      {
        String p = bp.bypass.substring(9).trim();
View Full Code Here

      if (player.isDead())
      {
        sendPacket(new ExShowScreenMessage(NpcString.YOU_CANNOT_TELEPORT_WHILE_YOU_ARE_DEAD, 10000, ExShowScreenMessage.ScreenMessageAlign.TOP_CENTER, false, ExShowScreenMessage.STRING_TYPE, -1, false), new ExCallToChangeClass(_cId, false));
        return;
      }
      player.processQuestEvent("_10338_SeizeYourDestiny", "MemoryOfDisaster", null);
    }
    else
    {
      Player player = getClient().getActiveChar();
      if (player == null)
View Full Code Here

      {
        player.removeListener(_tutorialShowListener);
        Quest q = QuestManager.getQuest(255);
        if (q != null)
        {
          player.processQuestEvent(q.getName(), "CE45", null);
        }
      }
      else if (player.getLevel() > 5)
      {
        player.removeListener(_tutorialShowListener);
View Full Code Here

      return;
    }
    Quest tutorial = QuestManager.getQuest(255);
    if (tutorial != null)
    {
      player.processQuestEvent(tutorial.getName(), "CE" + event, null);
    }
  }
}
View Full Code Here

      return;
    }
    Quest tutorial = QuestManager.getQuest(255);
    if (tutorial != null)
    {
      player.processQuestEvent(tutorial.getName(), _bypass, null);
    }
  }
}
View Full Code Here

      return;
    }
    Quest q = QuestManager.getQuest(255);
    if (q != null)
    {
      player.processQuestEvent(q.getName(), "QM" + _number, null);
    }
  }
}
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.