51 lines
931 B
Plaintext
51 lines
931 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.6
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
|
|
//Put this OnUsed
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastUsedBy();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
AdjustAlignment(oPC, ALIGNMENT_GOOD, 100);
|
|
|
|
object oTarget;
|
|
oTarget = oPC;
|
|
|
|
effect eEffect;
|
|
eEffect = EffectKnockdown();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 60.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectStunned();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 60.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectNegativeLevel(10);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectBlindness();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 60.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectPolymorph(POLYMORPH_TYPE_CELESTIAL_AVENGER);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 5.0f);
|
|
|
|
}
|
|
|