15 lines
360 B
Plaintext
15 lines
360 B
Plaintext
#include "immune_imbue"
|
|
|
|
void main()
|
|
{
|
|
object oItem;
|
|
SetLocalInt(GetPCSpeaker(), "armour_af", 1);
|
|
oItem = GetFirstItemInInventory(OBJECT_SELF);
|
|
while (GetIsObjectValid(oItem))
|
|
{
|
|
if (GetTag(oItem) == "coin1") {DestroyObject(oItem);}
|
|
oItem = GetNextItemInInventory(OBJECT_SELF);
|
|
}
|
|
ImmuneImbue(IP_CONST_ARCANE_SPELL_FAILURE_MINUS_50_PERCENT);
|
|
}
|