Package net.sf.l2j.gameserver.templates

Examples of net.sf.l2j.gameserver.templates.L2Weapon


   * @param classId the class id
   * @return the l2 weapon
   */
  public L2Weapon findFistsWeaponItem(int classId)
  {
    L2Weapon weaponItem = null;
    if ((classId >= 0x00) && (classId <= 0x09))
    {
      // human fighter fists
      L2Item temp = ItemTable.getInstance().getTemplate(246);
      weaponItem = (L2Weapon) temp;
View Full Code Here


   * @return true, if is using dual weapon
   */
  @Override
  public boolean isUsingDualWeapon()
  {
    L2Weapon weaponItem = getActiveWeaponItem();
    if (weaponItem == null)
    {
      return false;
    }
   
    if (weaponItem.getItemType() == L2WeaponType.DUAL)
    {
      return true;
    }
    else if (weaponItem.getItemType() == L2WeaponType.DUALFIST)
    {
      return true;
    }
    else if (weaponItem.getItemId() == 248)
    {
      return true;
    }
    else if (weaponItem.getItemId() == 252)
    {
      return true;
    }
    else
    {
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.templates.L2Weapon

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.