RewardXP(string, int, object, int, int)
Gives the designated XP to the PC and possible their party using the design rules for XP distribution.
The tag of the journal that has been compeleted and stores the XP potential.
The percentage of the XP to award. (100 for 100%)
The PC (and their party possible) to award the XP to.
If all party members should receive experience. (Default: TRUE)
Gives the XP indicated in the journal with the tag sJournalTag to oTarget and if bAllParty is TRUE will give the XP to oTarget's party taking into consideration the alignment of the characters and the alignment of the quest indicated by nQuestAlignment.
The PC receives 100% of the experience if they or the quest is of neutral alignment (the default alignment for a quest is neutral); otherwise the PC receives 125% of the experience if they are of the correct alignment (matching the quest's alignment) and 75% if they are of the wrong alignment.
#include " nw_i0_plot "
author: Tom Cassiotis, editor: Charles Feduke, additional contributor(s): Jonathan Williams