#include "nw_i0_tool" /* 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(); object oTarget; oTarget = oPC; effect eEffect; eEffect = EffectAbilityIncrease(ABILITY_CHARISMA, 1); ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget); RewardPartyXP(500, oPC, FALSE); CreateItemOnObject("questgem012", oPC); CreateItemOnObject("onestats_1", oPC); object oItem; oItem = GetItemPossessedBy(oPC, "darkessence"); if (GetIsObjectValid(oItem)) DestroyObject(oItem); }