Initial commit
Initial commit.
This commit is contained in:
31
_module/nss/vtw_shgmrw.nss
Normal file
31
_module/nss/vtw_shgmrw.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
#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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user