Package com.l2jfrozen.gameserver.templates

Examples of com.l2jfrozen.gameserver.templates.L2Armor


    if(_currentItem.item != null)
      return;

    if(_currentItem.type instanceof L2ArmorType)
    {
      _currentItem.item = new L2Armor((L2ArmorType) _currentItem.type, _currentItem.set);
    }
    else if(_currentItem.type instanceof L2WeaponType)
    {
      _currentItem.item = new L2Weapon((L2WeaponType) _currentItem.type, _currentItem.set);
    }
View Full Code Here


    // armor resistances vs dagger. daggerWpnRes could also be used if a skill
    // was given to all classes. The values here try to be a compromise.
    // They were originally added in a late C4 rev (2289).
    if(target instanceof L2PcInstance)
    {
      L2Armor armor = ((L2PcInstance) target).getActiveChestArmorItem();
      if(armor != null)
      {
        if(((L2PcInstance) target).isWearingHeavyArmor())
        {
          damage /= Config.ALT_DAGGER_DMG_VS_HEAVY;
View Full Code Here

      }
    }

    if(target instanceof L2PcInstance && weapon != null && weapon.getItemType() == L2WeaponType.DAGGER && skill != null)
    {
      L2Armor armor = ((L2PcInstance) target).getActiveChestArmorItem();
      if(armor != null)
      {
        if(((L2PcInstance) target).isWearingHeavyArmor())
        {
          damage /= Config.ALT_DAGGER_DMG_VS_HEAVY;
View Full Code Here

        {
          // No penality for formal wear
          if (item.getItemId() == 6408)
            continue;
         
          L2Armor armor_item = (L2Armor) item.getItem();
         
          switch (armor_item.getItemType())
          {       
            case HEAVY:
            {             
              if (!_heavy_mastery)
                newMasteryPenalty++;
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.templates.L2Armor

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.