AOC_PRC8/_module/nss/crit_imbue.nss

15 lines
354 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:24:16 -04:00
#include "immune_imbue"
void main()
{
object oItem;
SetLocalInt(GetPCSpeaker(), "armour_red_max", 1);
oItem = GetFirstItemInInventory(OBJECT_SELF);
while (GetIsObjectValid(oItem))
{
if (GetTag(oItem) == "coin1") {DestroyObject(oItem);}
oItem = GetNextItemInInventory(OBJECT_SELF);
}
ImmuneImbue(IP_CONST_IMMUNITYMISC_CRITICAL_HITS);
}