Examples of ConditionSlotItemId


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

        if(st.hasMoreTokens())
        {
          enchant = Integer.parseInt(st.nextToken().trim());
        }

        cond = joinAnd(cond, new ConditionSlotItemId(slot, id, enchant));
      }
    }
    if(cond == null)
    {
      _log.severe("Unrecognized <using> condition in " + _file);
View Full Code Here

Examples of l2p.gameserver.skills.conditions.ConditionSlotItemId

        int enchant = 0;
        if(st.hasMoreTokens())
        {
          enchant = Integer.parseInt(st.nextToken().trim());
        }
        cond = joinAnd(cond, new ConditionSlotItemId(slot, id, enchant));
      }
      else if("direction".equalsIgnoreCase(nodeName))
      {
        TargetDirection Direction = TargetDirection.valueOf(nodeValue.toUpperCase());
        cond = joinAnd(cond, new ConditionTargetDirection(Direction));
View Full Code Here

Examples of lineage2.gameserver.stats.conditions.ConditionSlotItemId

        int enchant = 0;
        if (st.hasMoreTokens())
        {
          enchant = Integer.parseInt(st.nextToken().trim());
        }
        cond = joinAnd(cond, new ConditionSlotItemId(slot, id, enchant));
      }
      else if (name.equalsIgnoreCase("kind") || name.equalsIgnoreCase("weapon"))
      {
        long mask = 0;
        StringTokenizer st = new StringTokenizer(value, ",");
View Full Code Here

Examples of lineage2.gameserver.stats.conditions.ConditionSlotItemId

        int enchant = 0;
        if (st.hasMoreTokens())
        {
          enchant = Integer.parseInt(st.nextToken().trim());
        }
        cond = joinAnd(cond, new ConditionSlotItemId(slot, id, enchant));
      }
    }
    if (cond == null)
    {
      _log.error("Unrecognized <using> condition in " + file);
View Full Code Here

Examples of net.sf.l2j.gameserver.skills.conditions.ConditionSlotItemId

                StringTokenizer st = new StringTokenizer(a.getNodeValue(), ";");
                int id = Integer.parseInt(st.nextToken().trim());
                int slot = Integer.parseInt(st.nextToken().trim());
                int enchant = 0;
                if (st.hasMoreTokens()) enchant = Integer.parseInt(st.nextToken().trim());
                cond = joinAnd(cond, new ConditionSlotItemId(slot, id, enchant));
            }
        }
        if (cond == null) _log.severe("Unrecognized <using> condition in " + _file);
        return cond;
    }
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.