Added Corrected Char Sheet XP script by -=HA=-
Added Corrected Char Sheet XP script by -=HA=-. Updated a few NPC onDeath scripts to use point at the correct XP scripts. Full compile. Updated release archive.
This commit is contained in:
@@ -9,10 +9,24 @@ Created On: 3/03/09
|
||||
Intergrated SimTools to the OnPlayerLevelUp Event
|
||||
|
||||
----------------------------------------------------------*/
|
||||
#include "nwnx_player"
|
||||
|
||||
//Required Include for SimTools
|
||||
//#include "fky_chat_inc"
|
||||
|
||||
void SetTlkOverrideForMaximumLevel(object oPC)
|
||||
{
|
||||
int nLevel = GetHitDice(oPC);
|
||||
if (nLevel < 40)
|
||||
{
|
||||
NWNX_Player_SetTlkOverride(oPC, 315, "");
|
||||
}
|
||||
else
|
||||
{
|
||||
NWNX_Player_SetTlkOverride(oPC, 315, "Next Level: " + IntToString((nLevel + 1) * nLevel * 500) + "\n");
|
||||
}
|
||||
}
|
||||
|
||||
void SendMessageToAllPC(string sMessage)
|
||||
{
|
||||
object oPC = GetFirstPC();
|
||||
@@ -25,11 +39,14 @@ void SendMessageToAllPC(string sMessage)
|
||||
|
||||
void main()
|
||||
{
|
||||
ExecuteScript("prc_levelup", OBJECT_SELF);
|
||||
object oPC = GetPCLevellingUp();
|
||||
int nHD = GetHitDice(oPC);
|
||||
location lSaved = GetLocation(oPC);
|
||||
int MULTI_PLAYER = GetLocalInt(GetModule(), "multi");
|
||||
ExecuteScript("prc_levelup", OBJECT_SELF);
|
||||
|
||||
object oPC = GetPCLevellingUp();
|
||||
int nHD = GetHitDice(oPC);
|
||||
location lSaved = GetLocation(oPC);
|
||||
int MULTI_PLAYER = GetLocalInt(GetModule(), "multi");
|
||||
|
||||
SetTlkOverrideForMaximumLevel(GetPCLevellingUp());
|
||||
///////LOCATION SAVING OPTION////////
|
||||
|
||||
//Delete the /* above to activate
|
||||
|
Reference in New Issue
Block a user