generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
12
_module/nss/setxp_hi.nss
Normal file
12
_module/nss/setxp_hi.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int oXP = GetLocalInt(oPC, "TARGET_XP");
|
||||
effect eVis = EffectVisualEffect(VFX_FNF_LOS_HOLY_10);
|
||||
ActionPauseConversation();
|
||||
ActionCastFakeSpellAtObject(SPELL_AID, oPC);
|
||||
|
||||
DelayCommand(2.5, SetXP(oPC, oXP));
|
||||
DelayCommand(2.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oPC));
|
||||
DelayCommand(2.75, ActionResumeConversation());
|
||||
}
|
||||
Reference in New Issue
Block a user