It is already shown when item is distance weapon, like bow.
What distro do you use?
<item id="11733" article="a" name="Novice Reiatsu Bow">
<attribute key="weight" value="1500" />
<attribute key="weaponType" value="distance" />
<attribute key="slotType" value="two-handed" />
<attribute key="defense" value="2" />
<attribute key="attack" value="4" />
<attribute key="range" value="4" />
<attribute key="description" value="The bow for novice shooters. Bow attack for small range, removing 3 reiatsu points per hit." />
</item>
else if(it.weaponType != WEAPON_NONE)
{
bool begin = true;
if(it.weaponType == WEAPON_DIST && [B][COLOR="red"](it.id == 11733 || [/COLOR][/B]it.ammoType != AMMO_NONE[B][COLOR="red"])[/COLOR][/B])
{
begin = false;
s << " (Range:" << int32_t(item ? item->getShootRange() : it.shootRange);
if(it.weaponType == WEAPON_DIST && (it.id == 11733 || [B][COLOR="red"]it.id == 1234 ||[/COLOR][/B] it.ammoType != AMMO_NONE))
if(it.weaponType == WEAPON_DIST && [B][COLOR="red"](it.slotPosition & SLOTP_TWO_HAND ||[/COLOR][/B] it.ammoType != AMMO_NONE[B][COLOR="red"])[/COLOR][/B])