Battledale_PRC8/_module/nss/gc_di_item_ok.nss
Jaysyn904 4dba880acb Added ACP v4.1
Added ACP v4.1. Full compile.  Updated module name.  Updated release archive.
2024-09-08 18:23:43 -04:00

19 lines
660 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName gc_di_item_ok
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/11/2008 12:44:41 PM
//:://////////////////////////////////////////////
int StartingConditional()
{
// Inspect local variables(Only these types can have damage immunity..
if(GetLocalInt(GetPCSpeaker(), "CRAFT_TYPE") == BASE_ITEM_AMULET ||
GetLocalInt(GetPCSpeaker(), "CRAFT_TYPE") == BASE_ITEM_CLOAK ||
GetLocalInt(GetPCSpeaker(), "CRAFT_TYPE") == BASE_ITEM_BELT)
return TRUE;
return FALSE;
}