Examples of addRestorationItem()


Examples of lineage2.gameserver.templates.skill.restoration.RestorationGroup.addRestorationItem()

        {
          Element itemElement = (Element)itemIterator.next();
          int id = Integer.parseInt(itemElement.attributeValue("id"));
          int minCount = Integer.parseInt(itemElement.attributeValue("min_count"));
          int maxCount = itemElement.attributeValue("max_count") == null ? minCount : Integer.parseInt(itemElement.attributeValue("max_count"));
          restorationGroup.addRestorationItem(new RestorationItem(id, minCount, maxCount));
        }
        restorationInfo.addRestorationGroup(restorationGroup);
      }
      (getHolder()).addRestorationInfo(restorationInfo);
    }
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.