Examples of ArmorType


Examples of com.garbagemule.MobArena.ArenaClass.ArmorType

            contents[last] = null;
        }
        // Check the remaining three of the four last slots for armor
        for (int i = contents.length-1; i > contents.length-5; i--) {
            if (contents[i] == null) continue;
            ArmorType type = ArmorType.getType(contents[i]);
            if (type == null || type == ArmorType.HELMET) continue;
           
            switch (type) {
                case CHESTPLATE: inv.setChestplate(contents[i])break;
                case LEGGINGS:   inv.setLeggings(contents[i]);    break;
View Full Code Here

Examples of l2p.gameserver.templates.L2Armor.ArmorType

          cond = joinAnd(cond, new ConditionUsingItemType(mask));
        }
      }
      else if("armor".equalsIgnoreCase(nodeName))
      {
        ArmorType armor = ArmorType.valueOf(nodeValue.toUpperCase());
        cond = joinAnd(cond, new ConditionUsingArmor(armor));
      }
      else if("skill".equalsIgnoreCase(nodeName))
      {
        if(Util.isNumber(nodeValue))
View Full Code Here

Examples of lineage2.gameserver.templates.item.ArmorTemplate.ArmorType

          cond = joinAnd(cond, new ConditionUsingItemType(mask));
        }
      }
      else if ("armor".equalsIgnoreCase(nodeName))
      {
        ArmorType armor = ArmorType.valueOf(nodeValue.toUpperCase());
        cond = joinAnd(cond, new ConditionUsingArmor(armor));
      }
      else if ("skill".equalsIgnoreCase(nodeName))
      {
        cond = joinAnd(cond, new ConditionUsingSkill(Integer.parseInt(nodeValue)));
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.