Examples of SoulCrystal


Examples of lineage2.gameserver.templates.SoulCrystal

      if (targetPlayer.getQuestState(_350_EnhanceYourWeapon.class) == null)
      {
        continue;
      }
      boolean resonation = false;
      SoulCrystal soulCrystal = null;
      ItemInstance[] items = targetPlayer.getInventory().getItems();
      for (ItemInstance item : items)
      {
        SoulCrystal crystal = SoulCrystalHolder.getInstance().getCrystal(item.getItemId());
        if (crystal == null)
        {
          continue;
        }
        target.setMessage(SystemMsg.THE_SOUL_CRYSTAL_WAS_NOT_ABLE_TO_ABSORB_THE_SOUL);
View Full Code Here

Examples of lineage2.gameserver.templates.SoulCrystal

      Element element = (Element) iterator.next();
      int itemId = Integer.parseInt(element.attributeValue("item_id"));
      int level = Integer.parseInt(element.attributeValue("level"));
      int nextItemId = Integer.parseInt(element.attributeValue("next_item_id"));
      int cursedNextItemId = element.attributeValue("cursed_next_item_id") == null ? 0 : Integer.parseInt(element.attributeValue("cursed_next_item_id"));
      getHolder().addCrystal(new SoulCrystal(itemId, level, nextItemId, cursedNextItemId));
    }
  }
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.