Okay, playing with the lilac soul - I think I understand how to set up the % for each item, but how would I have the script recognize if it had the previous dmg bonus?
Example that it went from being a +1 acid to a +2 acid?
itemproperty ipAdd;
object oItem;
object oTarget;
/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.3
For download info, please visit:
http://nwvault.ign.c...&id=4683&id=625 */
#include "x2_inc_itemprop"
void main()
{
object oPC;
if (!GetIsPC(GetItemActivatedTarget())
){
SendMessageToPC(GetItemActivator(), "Improper use of item!");
return;}
if (d100()<=90)
{
oPC = GetItemActivator();
oTarget = oPC;
oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oTarget);
ipAdd = ItemPropertyDamageBonus(IP_CONST_DAMAGETYPE_ACID, IP_CONST_DAMAGEBONUS_1);
IPSafeAddItemProperty(oItem, ipAdd);
}
else
{
oTarget = GetItemActivatedTarget();
DestroyObject(oTarget, 0.0);
}
}
Now how would I make an addition to this to possibly give a Universal Tag to the item effected so that the other stones effect it as well?