35 lines
648 B
Plaintext
35 lines
648 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.6
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
|
|
void main()
|
|
{
|
|
object oPC;
|
|
|
|
oPC = GetItemActivator();
|
|
|
|
object oTarget;
|
|
oTarget = oPC;
|
|
|
|
effect eEffect;
|
|
eEffect = EffectAbilityIncrease(ABILITY_CONSTITUTION, 2);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectAbilityIncrease(ABILITY_STRENGTH, 2);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectUltravision();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
}
|
|
|