WoR_PRC8/_module/nss/rudearmourlvl.nss

29 lines
528 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
#include "x2_inc_itemprop"
/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.6
For download info, please visit:
http://www.lilacsoul.revility.com */
//Put this on action taken in the conversation editor
void main()
{
object oPC = GetPCSpeaker();
AssignCommand(oPC, TakeGoldFromCreature(10000000, oPC, TRUE));
object oTarget;
object oItem;
oTarget = oPC;
oItem = GetItemInSlot(INVENTORY_SLOT_CHEST, oTarget);
itemproperty ipAdd;
ipAdd = ItemPropertyACBonus(10);
IPSafeAddItemProperty(oItem, ipAdd);
}