Alangara_PRC8/_module/nss/ravagernbrain_nq.nss

35 lines
596 B
Plaintext
Raw Permalink Normal View History

2024-06-05 21:21:06 -04:00
/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.3
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
#include "prc_x2_itemprop"
void main()
{
object oPC;
if (!GetIsPC(GetItemActivatedTarget())
){
SendMessageToPC(GetItemActivator(), "Improper use of item!");
return;}
oPC = GetItemActivator();
object oTarget;
object oItem;
oTarget = oPC;
oItem = GetItemInSlot(INVENTORY_SLOT_BOOTS, oTarget);
SetPlotFlag(oItem, TRUE);
itemproperty ipAdd;
ipAdd = ItemPropertyRegeneration(3);
IPSafeAddItemProperty(oItem, ipAdd);
}