Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

14 lines
338 B
Plaintext

#include "x2_inc_itemprop"
void main()
{
object oPC = GetPCItemLastUnequippedBy();
object oItem = GetPCItemLastUnequipped();
int iHoly = GetLocalInt(oItem, "HA_Depower");
if(GetLocalInt(oItem,"HA_Depower")==1)
{
itemproperty ipAdd = ItemPropertyHolyAvenger();
IPSafeAddItemProperty(oItem, ipAdd);
SetLocalInt(oItem, "HA_Depower", 0);
}
}