35 lines
676 B
Plaintext
35 lines
676 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 = GetItemActivatedTarget();
|
|
|
|
effect eEffect;
|
|
eEffect = EffectKnockdown();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 30.0f);
|
|
|
|
oTarget = GetItemActivatedTarget();
|
|
|
|
eEffect = EffectAbilityDecrease(ABILITY_INTELLIGENCE, 6);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 60.0f);
|
|
|
|
oTarget = GetItemActivatedTarget();
|
|
|
|
eEffect = EffectDazed();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 60.0f);
|
|
|
|
}
|
|
|