Skip to content

Commit

Permalink
Fix adventurers being too powerful in Neverwinter
Browse files Browse the repository at this point in the history
  • Loading branch information
Logg-y committed Nov 24, 2024
1 parent 86041f9 commit 26bb414
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/nss/inc_adventurer.nss
Original file line number Diff line number Diff line change
Expand Up @@ -4140,9 +4140,9 @@ void SetAdventurerPartyType(object oAdventurer, int nPartyType)

int SelectAdventurerHD(object oArea)
{
int nACR = GetLocalInt(oArea, "cr");
int nACR = GetLocalInt(oArea, "adventurer_hd");
if (nACR < 3)
nACR = GetLocalInt(oArea, "adventurer_hd");
nACR = GetLocalInt(oArea, "cr");
if (nACR < 3)
{
WriteTimestampedLogEntry("Adventurer HD: HD setting for adventurers in area " + GetResRef(oArea));
Expand All @@ -4153,9 +4153,7 @@ int SelectAdventurerHD(object oArea)

int SelectBountyHunterGroupHD(object oArea)
{
int nACR = GetLocalInt(oArea, "cr");
if (nACR < 3)
nACR = 3;
int nACR = SelectAdventurerHD(oArea);

int nWeightSum = 0;
json jWeights = JsonArray();
Expand Down

0 comments on commit 26bb414

Please sign in to comment.