MMD_PRC8/_module/nss/vtw_shgmrw.nss
Jaysyn904 adeff59f82 Initial commit
Initial commit.
2024-08-02 23:18:00 -04:00

32 lines
731 B
Plaintext

#include "inc_baseitem"
/*
int isArcane(object oItem)
{
int iTyp = GetBaseItemType(oItem);
if (
(iTyp == BASE_ITEM_MAGICROD ) ||
(iTyp == BASE_ITEM_MAGICSTAFF ) ||
(iTyp == BASE_ITEM_MAGICWAND ) ||
(iTyp == BASE_ITEM_BLANK_WAND ) ||
(iTyp == BASE_ITEM_BLANK_SCROLL ) ||
(iTyp == BASE_ITEM_BLANK_POTION )
) return TRUE;
else return FALSE;
}
*/
int StartingConditional()
{
object oItem = GetLocalObject(GetPCSpeaker(), "MODIFY_ITEM");
if (
isArmor(oItem) ||
isWearable(oItem) ||
isGauntlet(oItem) ||
isMelee(oItem) ||
isRanged(oItem) ||
isArcane(oItem)
) return TRUE;
else return FALSE;
}