Examples of ConditionPlayerState


Examples of com.l2jfrozen.gameserver.skills.conditions.ConditionPlayerState

        cond = joinAnd(cond, new ConditionPlayerLevel(lvl));
      }
      else if("resting".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.RESTING, val));
      }
      else if("flying".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.FLYING, val));
      }
      else if("moving".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.MOVING, val));
      }
      else if("running".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.RUNNING, val));
      }
      else if("behind".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.BEHIND, val));
      }
      else if("front".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.FRONT, val));
      }
      else if("side".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.SIDE, val));
      }
      else if("hp".equalsIgnoreCase(a.getNodeName()))
      {
        int hp = Integer.decode(getValue(a.getNodeValue(), null));
        cond = joinAnd(cond, new ConditionPlayerHp(hp));
View Full Code Here

Examples of com.l2jfrozen.gameserver.skills.conditions.ConditionPlayerState

     * @param pStat
     */
    private FuncMultRegenResting(Stats pStat)
    {
      super(pStat, 0x20, null);
      setCondition(new ConditionPlayerState(CheckPlayerState.RESTING, true));
    }
View Full Code Here

Examples of l2p.gameserver.skills.conditions.ConditionPlayerState

        cond = joinAnd(cond, new ConditionPlayerMaxPK(pk));
      }
      else if("resting".equalsIgnoreCase(nodeName))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.RESTING, val));
      }
      else if("moving".equalsIgnoreCase(nodeName))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.MOVING, val));
      }
      else if("running".equalsIgnoreCase(nodeName))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.RUNNING, val));
      }
      else if("standing".equalsIgnoreCase(nodeName))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.STANDING, val));
      }
      else if("flying".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.FLYING, val));
      }
      else if("flyingTransform".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.FLYING_TRANSFORM, val));
      }
      else if("percentHP".equalsIgnoreCase(nodeName))
      {
        int percentHP = parseNumber(a.getNodeValue()).intValue();
        cond = joinAnd(cond, new ConditionPlayerPercentHp(percentHP));
View Full Code Here

Examples of l2p.gameserver.skills.conditions.ConditionPlayerState

      return func[pos];
    }

    private FuncMultRegenResting(Stats stat) {
      super(stat, 0x30, null);
      setCondition(new ConditionPlayerState(CheckPlayerState.RESTING,
          true));
    }
View Full Code Here

Examples of l2p.gameserver.skills.conditions.ConditionPlayerState

      return func[pos];
    }

    private FuncMultRegenStanding(Stats stat) {
      super(stat, 0x30, null);
      setCondition(new ConditionPlayerState(CheckPlayerState.STANDING,
          true));
    }
View Full Code Here

Examples of l2p.gameserver.skills.conditions.ConditionPlayerState

      return func[pos];
    }

    private FuncMultRegenRunning(Stats stat) {
      super(stat, 0x30, null);
      setCondition(new ConditionPlayerState(CheckPlayerState.RUNNING,
          true));
    }
View Full Code Here

Examples of lineage2.gameserver.stats.conditions.ConditionPlayerState

     * @param stat Stats
     */
    private FuncMultRegenResting(Stats stat)
    {
      super(stat, 0x30, null);
      setCondition(new ConditionPlayerState(CheckPlayerState.RESTING, true));
    }
View Full Code Here

Examples of lineage2.gameserver.stats.conditions.ConditionPlayerState

     * @param stat Stats
     */
    private FuncMultRegenStanding(Stats stat)
    {
      super(stat, 0x30, null);
      setCondition(new ConditionPlayerState(CheckPlayerState.STANDING, true));
    }
View Full Code Here

Examples of lineage2.gameserver.stats.conditions.ConditionPlayerState

     * @param stat Stats
     */
    private FuncMultRegenRunning(Stats stat)
    {
      super(stat, 0x30, null);
      setCondition(new ConditionPlayerState(CheckPlayerState.RUNNING, true));
    }
View Full Code Here

Examples of lineage2.gameserver.stats.conditions.ConditionPlayerState

        cond = joinAnd(cond, new ConditionPlayerMaxPK(pk));
      }
      else if ("resting".equalsIgnoreCase(nodeName))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.RESTING, val));
      }
      else if ("moving".equalsIgnoreCase(nodeName))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.MOVING, val));
      }
      else if ("running".equalsIgnoreCase(nodeName))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.RUNNING, val));
      }
      else if ("standing".equalsIgnoreCase(nodeName))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.STANDING, val));
      }
      else if ("flying".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.FLYING, val));
      }
      else if ("flyingTransform".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerState(CheckPlayerState.FLYING_TRANSFORM, val));
      }
      else if ("olympiad".equalsIgnoreCase(a.getNodeName()))
      {
        boolean val = Boolean.valueOf(a.getNodeValue());
        cond = joinAnd(cond, new ConditionPlayerOlympiad(val));
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.