Shargast_PRC8/_module/Chapter 2/nss/idcust_lefthand.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

18 lines
361 B
Plaintext

int StartingConditional()
{
object oPlayer = GetPCSpeaker();
object oItem = GetItemInSlot( INVENTORY_SLOT_LEFTHAND, oPlayer);
int iItemtype = GetBaseItemType( oItem);
//shields
if( iItemtype == BASE_ITEM_LARGESHIELD ||
iItemtype == BASE_ITEM_SMALLSHIELD ||
iItemtype == BASE_ITEM_TOWERSHIELD)
{
return TRUE;
}
return FALSE;
}