Skip to content

Commit

Permalink
Change heroes in enemy side to use job growth instead of character gr…
Browse files Browse the repository at this point in the history
…owth to make it easier to defeat
  • Loading branch information
laqieer committed Aug 25, 2024
1 parent e2674cb commit e822ad4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/unit.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,13 @@ struct Unit * CreateUnitNew(struct UnitInfo const * info)

if (info->autolevel)
{
if (isEnemyOnly(unit->pinfo->id))
if (isEnemyOnly(unit->pinfo->id) || UNIT_FACTION(unit) != FACTION_BLUE)
{
UnitAutolevel(unit);
UnitAutolevelNew(unit);
}
else
{
UnitAutolevelPlayer(unit);
UnitAutolevelPlayerNew(unit);
}

UnitAutolevelWeaponExp(unit, info);
Expand Down

1 comment on commit e822ad4

@laqieer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before: auto level with character growth

Fehrr 2024-08-25 14 51 53

After: auto level with job growth

Fehrr 2024-08-25 14 52 26

Please sign in to comment.