Examples of LureType


Examples of lineage2.gameserver.templates.item.support.LureType

      {
        int id = Integer.parseInt(e.attributeValue("id"));
        for (Iterator<Element> forLureIterator = e.elementIterator(); forLureIterator.hasNext();)
        {
          Element forLureElement = forLureIterator.next();
          LureType lureType = LureType.valueOf(forLureElement.attributeValue("type"));
          Map<FishGroup, Integer> chances = new HashMap<>();
          for (Iterator<Element> chanceIterator = forLureElement.elementIterator(); chanceIterator.hasNext();)
          {
            Element chanceElement = chanceIterator.next();
            chances.put(FishGroup.valueOf(chanceElement.attributeValue("type")), Integer.parseInt(chanceElement.attributeValue("value")));
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.