Hello. I've created a custom poison in my module, and so far I've been unsuccessful.
The resref of the item is cr_alch_nighthpo
The script name for the poison is cr_alch_nighthpo
The above script..
void main()
{
object oPC = GetItemActivator();
object oTarget = GetItemActivatedTarget();
itemproperty ipConfuse = ItemPropertyOnHitProps(IP_CONST_ONHIT_CONFUSION, 15);
AddItemProperty(DURATION_TYPE_TEMPORARY, ipConfuse, oTarget, 900.0);
}
I've been targeting an equipped dagger in game when using the item. The item property is activate item, 1 charge use. However, nothing seems to happen. Can anyone provide some magical insight?