PWE_PRC8/_module/nss/israngedweapon.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

15 lines
369 B
Plaintext

int StartingConditional()
{
object oItem = GetLocalObject(GetPCSpeaker(), "MODIFY_ITEM");
int iTyp = GetBaseItemType(oItem);
return (
(iTyp == BASE_ITEM_HEAVYCROSSBOW ) ||
(iTyp == BASE_ITEM_LIGHTCROSSBOW ) ||
(iTyp == BASE_ITEM_LONGBOW ) ||
(iTyp == BASE_ITEM_SHORTBOW ) ||
(iTyp == BASE_ITEM_SLING )
);
}