mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 01:27:20 +00:00
[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:
1 parent
32659426ba
commit
d7dc717249
33 files changed
+1866
-735
No files matched your search
+2
-2
@@ -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--;
|
||||
|
||||
Reference in new issue
Block a user