Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2024-10-09 14:17:22 -04:00
parent a13073fd78
commit e51634d39b
2354 changed files with 658510 additions and 0 deletions

View 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;
}