generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
14
_module/nss/asf_imbue1.nss
Normal file
14
_module/nss/asf_imbue1.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "immune_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oItem;
|
||||
SetLocalInt(GetPCSpeaker(), "armour_af1", 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);
|
||||
}
|
||||
Reference in New Issue
Block a user