Package lineage2.gameserver.model.items

Examples of lineage2.gameserver.model.items.ItemInstance.canBeCrystallized()


    if (item.isHeroWeapon())
    {
      activeChar.sendPacket(Msg.HERO_WEAPONS_CANNOT_BE_DESTROYED);
      return;
    }
    if (!item.canBeCrystallized(activeChar))
    {
      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isInStoreMode())
View Full Code Here


    if (item.isHeroWeapon())
    {
      player.sendPacket(Msg.HERO_WEAPONS_CANNOT_BE_DESTROYED);
      return;
    }
    if (!item.canBeCrystallized(player))
    {
      player.sendActionFailed();
      return;
    }
    if (player.isInStoreMode())
View Full Code Here

    }
    if (_count > item.getCount())
    {
      count = item.getCount();
    }
    boolean crystallize = item.canBeCrystallized(activeChar);
    int crystalId = item.getTemplate().getCrystalType().cry;
    int crystalAmount = item.getTemplate().getCrystalCount();
    if (crystallize)
    {
      int level = activeChar.getSkillLevel(Skill.SKILL_CRYSTALLIZE);
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.