Alangara_PRC8/_module/nss/ke_elisarbless.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

66 lines
1.3 KiB
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 on action taken in the conversation editor
#include "nw_i0_tool"
void main()
{
object oPC = GetPCSpeaker();
RewardPartyXP(3500, oPC, FALSE);
object oTarget;
oTarget = oPC;
effect eEffect;
eEffect = EffectAbilityIncrease(ABILITY_CHARISMA, 1);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
oTarget = oPC;
eEffect = EffectAbilityIncrease(ABILITY_CONSTITUTION, 1);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
oTarget = oPC;
eEffect = EffectAbilityIncrease(ABILITY_DEXTERITY, 1);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
oTarget = oPC;
eEffect = EffectAbilityIncrease(ABILITY_INTELLIGENCE, 1);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
oTarget = oPC;
eEffect = EffectAbilityIncrease(ABILITY_STRENGTH, 1);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
oTarget = oPC;
eEffect = EffectAbilityIncrease(ABILITY_WISDOM, 1);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
CreateItemOnObject("questgem", oPC);
CreateItemOnObject("allstats_1", oPC);
object oItem;
oItem = GetItemPossessedBy(oPC, "Bookofwinther");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
}