89 lines
1.8 KiB
Plaintext
89 lines
1.8 KiB
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.5
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
|
|
//Put this on action taken in the conversation editor
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oTarget;
|
|
oTarget = oPC;
|
|
|
|
effect eEffect;
|
|
eEffect = EffectACDecrease(50);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectAttackDecrease(30);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectMovementSpeedDecrease(50);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectBlindness();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectDeaf();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectSilence();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectAbilityDecrease(ABILITY_CHARISMA, 25);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectAbilityDecrease(ABILITY_CONSTITUTION, 25);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectAbilityDecrease(ABILITY_STRENGTH, 25);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectAbilityDecrease(ABILITY_DEXTERITY, 25);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectAbilityDecrease(ABILITY_INTELLIGENCE, 25);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectAbilityDecrease(ABILITY_WISDOM, 25);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 600.0f);
|
|
|
|
}
|
|
|