Package l2p.gameserver.model.base

Examples of l2p.gameserver.model.base.L2Augmentation


        {
          setAttributeElement(elem_type, elem_value, false);
        }
        if(aug_attributes != -1 && aug_skillId != -1 && aug_skillLevel != -1)
        {
          _augmentation = new L2Augmentation(aug_attributes, aug_skillId, aug_skillLevel);
          setCustomFlags(_customFlags & ~FLAG_PET_EQUIPPED, false);
        }
      }
    }
    catch(Exception e)
View Full Code Here


      {
        System.out.println("WARNING Ingredients list = 0 multisell id=:" + _listId + " player:" + activeChar.getName());
        activeChar.sendActionFailed();
        return;
      }
      L2Augmentation augmentation = null;
      // Перебор всех ингридиентов, проверка наличия и создание списка забираемого
      for(MultiSellIngredient ingridient : entry.getIngredients())
      {
        int ingridientItemId = ingridient.getItemId();
        long ingridientItemCount = ingridient.getItemCount();
View Full Code Here

    else
    {
      offset = lifeStoneLevel * STAT_SUBBLOCKSIZE + Rnd.get(0, 1) * STAT_BLOCKSIZE + (lifeStoneGrade + resultColor) / 2 * 10 * STAT_SUBBLOCKSIZE + 1;
    }
    stat12 = Rnd.get(offset, offset + STAT_SUBBLOCKSIZE - 1);
    return new L2Augmentation(((stat34 << 16) + stat12), skill);
  }
View Full Code Here

      // this is a stats - skipping skills
      stat34 = base + skillsLength + ACC_STAT_SUBBLOCKSIZE * resultColor + stat34;
    }
    // stat12 has stats only
    stat12 = base + skillsLength + ACC_STAT_SUBBLOCKSIZE * resultColor + stat12;
    return new L2Augmentation(((stat34 << 16) + stat12), skill);
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.base.L2Augmentation

Copyright © 2018 www.massapicom. 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.