Unhired Henchmen should no longer grant XP when killed.
Unhired Henchmen should no longer grant XP when killed. Disabled Bioware XP slider. Disabled WoL encounters. Disabled Simple LA switch since this module uses PWFXP. Full compile. Updated release archive.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
ExecuteScript("prc_onplaytarget");
|
||||
|
||||
NUI_HandleEvents(GetLastPlayerToSelectTarget());
|
||||
|
||||
ExecuteScript("prc_onplaytarget");
|
||||
}
|
@@ -10,8 +10,6 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
ExecuteScript("tab_xpscript",OBJECT_SELF);
|
||||
//SpawnScriptDebugger();
|
||||
//Change NPC_XP to 1 to initiate modified XP code
|
||||
int NPC_XP = 0;
|
||||
@@ -20,6 +18,13 @@ void main()
|
||||
|
||||
int nAlign = GetAlignmentGoodEvil(OBJECT_SELF);
|
||||
object oKiller = GetLastKiller();
|
||||
|
||||
if (GetStandardFactionReputation(STANDARD_FACTION_MERCHANT, OBJECT_SELF) == 100)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
ExecuteScript("tab_xpscript",OBJECT_SELF);
|
||||
|
||||
SpeakString("NW_I_AM_DEAD", TALKVOLUME_SILENT_TALK);
|
||||
//Shout Attack my target, only works with the On Spawn In setup
|
||||
|
@@ -198,7 +198,7 @@ float PWFXP_CR_MODIFIER = PWFXP_SCALAR / (PWFXP_CR_NOXP - PWFXP_CR_REDUCTION);
|
||||
|
||||
int PWFXP_GetTotalClassLevel(object oPC)
|
||||
{
|
||||
return GetLevelByPosition(1,oPC) + GetLevelByPosition(2,oPC) + GetLevelByPosition(3,oPC) + GetLevelByPosition(4,oPC)+ GetLevelByPosition(5,oPC) + GetLevelByPosition(6,oPC);
|
||||
return GetLevelByPosition(1,oPC) + GetLevelByPosition(2,oPC) + GetLevelByPosition(3,oPC) + GetLevelByPosition(4,oPC)+ GetLevelByPosition(5,oPC) + GetLevelByPosition(6,oPC)+ GetLevelByPosition(7,oPC) + GetLevelByPosition(8,oPC);
|
||||
}
|
||||
|
||||
float PWFXP_GetECLModifier(object oPC)
|
||||
|
Reference in New Issue
Block a user