RATDOG/_module/nss/mmmind.nss

28 lines
538 B
Plaintext
Raw Normal View History

/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.1
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
//Put this on action taken in the conversation editor
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
oTarget = oPC;
effect eEffect;
eEffect = EffectAbilityDecrease(ABILITY_INTELLIGENCE, 1);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
CreateItemOnObject("lifemark", oPC);
oTarget = OBJECT_SELF;
DestroyObject(oTarget, 0.0);
}