Fixed missing Factions on Animated Statues
Fixed missing Factions on Animated Statues. Added XP to next level for lvl 40+ characters. Added Dragon AI for CODI Core AI. Tweaked Beholders & some Dragons to use CODI Core AI. Fixed CODI Core NPC onSPawn script to run PRC scripts properly. Full compile. Updated release archive.
This commit is contained in:
@@ -15,20 +15,6 @@ character.
|
||||
|
||||
*/
|
||||
////////////////////////////////////
|
||||
#include "nwnx_player"
|
||||
|
||||
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 main()
|
||||
{
|
||||
@@ -65,8 +51,6 @@ int tXP = cXP + rXP; //rXP + pXP;
|
||||
|
||||
//Take all the player's XP
|
||||
SetXP(oPC, 0);
|
||||
|
||||
SetTlkOverrideForMaximumLevel(oPC);
|
||||
|
||||
//Let's make sure the character is saved!!!!
|
||||
DelayCommand(1.0, ExportSingleCharacter(oPC));
|
||||
|
Reference in New Issue
Block a user