[Mercenaries] Convert Mercenaries to Repositories (#3947)

* [Mercenaries] Convert Mercenaries to Repositories

- Convert all Mercenary methods to repositories aside from inner join queries that cannot be converted.

* Update base_merc_subtypes_repository.h

* Update base_merc_subtypes_repository.h

* Regenerate repositories
This commit is contained in:
Alex King authored and GitHub committed 2024-01-12 23:40:26 -06:00
1 parent 32659426ba
commit d7dc717249
33 files changed
+1866 -735

No files matched your search

+2 -2
View File
@@ -665,7 +665,7 @@ void Client::SetEXP(uint64 set_exp, uint64 set_aaxp, bool isrezzexp) {
}
level_count++;
if(GetMercID())
if(GetMercenaryID())
UpdateMercLevel();
}
//see if we lost any levels
@@ -676,7 +676,7 @@ void Client::SetEXP(uint64 set_exp, uint64 set_aaxp, bool isrezzexp) {
break;
}
level_increase = false;
if(GetMercID())
if(GetMercenaryID())
UpdateMercLevel();
}
check_level--;