#include "prc_x2_itemprop"
/*   Script generated by
Lilac Soul's NWN Script Generator, v. 2.2

For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625    */

//Put this on action taken in the conversation editor
void main()
{

object oPC = GetPCSpeaker();

object oTarget;
object oItem;
oTarget = oPC;

oItem = GetItemInSlot(INVENTORY_SLOT_ARMS, oTarget);

itemproperty ipAdd;
ipAdd = ItemPropertyACBonus(20);

IPSafeAddItemProperty(oItem, ipAdd);

oItem = GetItemInSlot(INVENTORY_SLOT_ARMS, oTarget);

ipAdd = ItemPropertyAttackBonus(20);

IPSafeAddItemProperty(oItem, ipAdd);

oItem = GetItemInSlot(INVENTORY_SLOT_ARMS, oTarget);

ipAdd = ItemPropertyDamageBonus(IP_CONST_DAMAGETYPE_MAGICAL, IP_CONST_DAMAGEBONUS_2d12);

IPSafeAddItemProperty(oItem, ipAdd);

oItem = GetItemInSlot(INVENTORY_SLOT_ARMS, oTarget);

ipAdd = ItemPropertyVisualEffect(ITEM_VISUAL_SONIC);

IPSafeAddItemProperty(oItem, ipAdd);

oItem = GetItemInSlot(INVENTORY_SLOT_ARMS, oTarget);

ipAdd = ItemPropertyEnhancementBonus(20);

IPSafeAddItemProperty(oItem, ipAdd);

}