Checks if an item is a ranged weapon.
Item to check whether is a ranged weapon.
Returns TRUE if oItem is a ranged weapon.
Does exactly the same as GetWeaponRanged. From the "// doh !" comment in the function code, I'm guessing that Georg (creator of the function) forgot about that function...
I'd recommend that you use GetWeaponRanged instead of this function, as it will be more CPU friendly. Granted, unless you loop through 1,000 items, you probably won't be able to tell the difference, but still...
#include " x2_inc_itemprop "
author: Lilac Soul