Examples of onBypassFeedback()


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

  {
    L2Player p = (L2Player) getSelf();
    L2NpcInstance n = getNpc();
    if(getConfidence() < 300000) // слишком низкий уровень доверия
    {
      n.onBypassFeedback(p, "Chat 2");
      return;
    }
    if(getItemCount(p, FirstMark) > 0 || getItemCount(p, SecondMark) > 0 || getItemCount(p, ThirdMark) > 0 || getItemCount(p, ForthMark) > 0) // уже есть какая-то
    {
      n.onBypassFeedback(p, "Chat 3");
View Full Code Here

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

      n.onBypassFeedback(p, "Chat 2");
      return;
    }
    if(getItemCount(p, FirstMark) > 0 || getItemCount(p, SecondMark) > 0 || getItemCount(p, ThirdMark) > 0 || getItemCount(p, ForthMark) > 0) // уже есть какая-то
    {
      n.onBypassFeedback(p, "Chat 3");
      return;
    }
    if(getItemCount(p, DarionsBadge) >= 20)
    {
      removeItem(p, DarionsBadge, 20); // Darion's Badge
View Full Code Here

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

      removeItem(p, DarionsBadge, 20); // Darion's Badge
      addItem(p, FirstMark, 1); // Basic Caravan Certificate
    }
    else
    {
      n.onBypassFeedback(p, "Chat 2");
    }
  }

  public void getSecondMark()
  {
View Full Code Here

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

  {
    L2Player p = (L2Player) getSelf();
    L2NpcInstance n = getNpc();
    if(getConfidence() < 600000) // слишком низкий уровень доверия
    {
      n.onBypassFeedback(p, "Chat 3");
      return;
    }
    if(getItemCount(p, FirstMark) == 0) // нет первой марки
    {
      n.onBypassFeedback(p, "Chat 1");
View Full Code Here

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

      n.onBypassFeedback(p, "Chat 3");
      return;
    }
    if(getItemCount(p, FirstMark) == 0) // нет первой марки
    {
      n.onBypassFeedback(p, "Chat 1");
      return;
    }
    if(getItemCount(p, SecondMark) > 0 || getItemCount(p, ThirdMark) > 0 || getItemCount(p, ForthMark) > 0) // есть вторая или выше
    {
      n.onBypassFeedback(p, "Chat 2");
View Full Code Here

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

      n.onBypassFeedback(p, "Chat 1");
      return;
    }
    if(getItemCount(p, SecondMark) > 0 || getItemCount(p, ThirdMark) > 0 || getItemCount(p, ForthMark) > 0) // есть вторая или выше
    {
      n.onBypassFeedback(p, "Chat 2");
      return;
    }
    if(getItemCount(p, MarkOfBetrayal) >= 30 && getItemCount(p, ScorpionPoisonStinger) >= 60)
    {
      removeItem(p, MarkOfBetrayal, 30); // Mark of Betrayal
View Full Code Here

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

      removeItem(p, FirstMark, 1); // Basic Caravan Certificate
      addItem(p, SecondMark, 1); // Standard Caravan Certificate
    }
    else
    {
      n.onBypassFeedback(p, "Chat 3");
    }
  }

  public void getThirdMark()
  {
View Full Code Here

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

  {
    L2Player p = (L2Player) getSelf();
    L2NpcInstance n = getNpc();
    if(getConfidence() < 1000000) // слишком низкий уровень доверия
    {
      n.onBypassFeedback(p, "Chat 4");
      return;
    }
    if(getItemCount(p, SecondMark) == 0) // нет второй марки
    {
      n.onBypassFeedback(p, "Chat 1");
View Full Code Here

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

      n.onBypassFeedback(p, "Chat 4");
      return;
    }
    if(getItemCount(p, SecondMark) == 0) // нет второй марки
    {
      n.onBypassFeedback(p, "Chat 1");
      return;
    }
    if(getItemCount(p, ThirdMark) > 0 || getItemCount(p, ForthMark) > 0) // есть третья или выше
    {
      n.onBypassFeedback(p, "Chat 2");
View Full Code Here

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

      n.onBypassFeedback(p, "Chat 1");
      return;
    }
    if(getItemCount(p, ThirdMark) > 0 || getItemCount(p, ForthMark) > 0) // есть третья или выше
    {
      n.onBypassFeedback(p, "Chat 2");
      return;
    }
    if(getItemCount(p, LifeForce) >= 56 && getItemCount(p, ContainedLifeForce) >= 14)
    {
      removeItem(p, LifeForce, 56); // Life Force
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.