// 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 */ void main() { object oPC; if ((GetObjectType(GetItemActivatedTarget())!=OBJECT_TYPE_CREATURE) ){ SendMessageToPC(GetItemActivator(), "Improper use of item!"); return;} object oTarget; oTarget = GetItemActivatedTarget(); effect eEffect; eEffect = EffectAbilityIncrease(ABILITY_CONSTITUTION, 4); eEffect = SupernaturalEffect(eEffect); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget); eEffect = EffectAbilityIncrease(ABILITY_STRENGTH, 4); eEffect = SupernaturalEffect(eEffect); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget); eEffect = EffectACIncrease(10); eEffect = SupernaturalEffect(eEffect); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget); eEffect = EffectDamageIncrease(DAMAGE_BONUS_1d8, DAMAGE_TYPE_FIRE); eEffect = SupernaturalEffect(eEffect); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget); eEffect = EffectRegenerate(5, 6.0f); eEffect = SupernaturalEffect(eEffect); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget); }