Examples of onBypassFeedback()


Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

      removeItem(p, DarionsBadge, 10); // Darion's Badge
      addItem(p, NativePants, 1); // Native Pants
    }
    else
    {
      n.onBypassFeedback(p, "Chat 3");
    }
  }

  public void buyMagicBottle()
  {
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

  {
    L2Player p = (L2Player) getSelf();
    L2NpcInstance n = getNpc();
    if(getItemCount(p, SecondMark) == 0 && getItemCount(p, ThirdMark) == 0 && getItemCount(p, ForthMark) == 0) // нет второй или выше марки
    {
      n.onBypassFeedback(p, "Chat 1");
      return;
    }
    if(getItemCount(p, ScorpionPoisonStinger) >= 20)
    {
      removeItem(p, ScorpionPoisonStinger, 20); // Scorpion Poison Stingers
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

      removeItem(p, ScorpionPoisonStinger, 20); // Scorpion Poison Stingers
      addItem(p, MagicBottle, 1); // Magic Bottle
    }
    else
    {
      n.onBypassFeedback(p, "Chat 1");
    }
  }

  public void buyHolyWater()
  {
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

  {
    L2Player p = (L2Player) getSelf();
    L2NpcInstance n = getNpc();
    if(p.getEffectList().getEffectsBySkillId(NativeTransformationSkill) == null) // не в трансформе native
    {
      n.onBypassFeedback(p, "Chat 2");
      return;
    }
    if(getItemCount(p, DarionsBadge) >= 5)
    {
      removeItem(p, DarionsBadge, 5); // Darion's Badge
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

      removeItem(p, DarionsBadge, 5); // Darion's Badge
      addItem(p, HolyWater, 1); // Holy Water
    }
    else
    {
      n.onBypassFeedback(p, "Chat 3");
    }
  }

  public static void OnDie(L2Character cha, L2Character killer)
  {
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

    L2Player p = (L2Player) getSelf();
    L2NpcInstance n = getNpc();
    // Нету партии или не лидер партии
    if(p.getParty() == null || !p.getParty().isLeader(p))
    {
      n.onBypassFeedback(p, "Chat 1");
      return;
    }
    GArray<L2Player> members = p.getParty().getPartyMembers();
    // Далеко или нету эффекта херба Fiery Demon Blood
    for(L2Player member : members)
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

    // Далеко или нету эффекта херба Fiery Demon Blood
    for(L2Player member : members)
    {
      if(member == null || !L2NpcInstance.canBypassCheck(member, n) || member.getEffectList().getEffectsBySkillId(FieryDemonBloodSkill) == null)
      {
        n.onBypassFeedback(p, "Chat 2");
        return;
      }
    }
    // Телепортируем партию на 1 этаж Tower of Infinitum
    for(L2Player member : members)
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

    {
      p.teleToLocation(TullyEntranceLocationPoint);
    }
    else
    {
      n.onBypassFeedback(p, "Chat 1");
    }
  }

  public void enterToTullyFloor1()
  {
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

      return;
    }
    // Нету партии или не лидер партии
    if(p.getParty() == null || !p.getParty().isLeader(p))
    {
      n.onBypassFeedback(p, "Chat 2");
      return;
    }
    GArray<L2Player> members = p.getParty().getPartyMembers();
    // Далеко или не выполнен 132 квест
    for(L2Player member : members)
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.onBypassFeedback()

    // Далеко или не выполнен 132 квест
    for(L2Player member : members)
    {
      if(member == null || !L2NpcInstance.canBypassCheck(member, n) || !member.isQuestCompleted("_132_MatrasCuriosity"))
      {
        n.onBypassFeedback(p, "Chat 1");
        return;
      }
    }
    // Телепортируем партию на 1 этаж Tully's Workshop
    for(L2Player member : members)
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.