#include "nw_i0_plot"
/*   Script generated by
Lilac Soul's NWN Script Generator, v. 1.6

For download info, please visit:
http://www.lilacsoul.revility.com    */

//Put this on action taken in the conversation editor
void main()
{

object oPC = GetPCSpeaker();

SetPLocalInt(oPC, "intWindStarted", 1);
int nDamage ;
nDamage = d6(1) ;
effect eEffect;
eEffect = EffectDamage(nDamage, DAMAGE_TYPE_BLUDGEONING, DAMAGE_POWER_NORMAL);

ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oPC);

object oTarget;
oTarget = oPC;

eEffect = EffectKnockdown();

ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 6.0f);

oTarget = GetObjectByTag("c51Wind1");

SoundObjectPlay(oTarget);

oTarget = GetObjectByTag("c51Wind2");

SoundObjectPlay(oTarget);

oTarget = GetObjectByTag("c51Wind3");

SoundObjectPlay(oTarget);

}

