15 lines
354 B
Plaintext
15 lines
354 B
Plaintext
|
#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);
|
||
|
}
|