Partial sync with L2jServer HighFive Nov 6th 2015.
This commit is contained in:
@ -454,4 +454,19 @@ public final class L2Weapon extends L2Item
|
||||
caster.sendPacket(sm);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isRange()
|
||||
{
|
||||
return isBow() || isCrossBow();
|
||||
}
|
||||
|
||||
public boolean isBow()
|
||||
{
|
||||
return _type == WeaponType.BOW;
|
||||
}
|
||||
|
||||
public boolean isCrossBow()
|
||||
{
|
||||
return _type == WeaponType.CROSSBOW;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user