Fix a const for usec and bear lvl in dogtag generation.
This commit is contained in:
parent
4fc338e03b
commit
bd20ad3906
@ -44,7 +44,7 @@ class ValensProgression implements IPostDBLoadMod, IPreAkiLoadMod
|
||||
this.staticRouterModService = container.resolve<StaticRouterModService>("StaticRouterModService");
|
||||
|
||||
|
||||
this.progression = new Progression(vLogger, this.botConfig, this.databaseServer, this.playerService, this.profileController, this.applicationContext, this.staticRouterModService);
|
||||
this.progression = new Progression(vLogger, this.databaseServer, this.botConfig);
|
||||
this.progression.updateProgression();
|
||||
}
|
||||
|
||||
@ -73,8 +73,8 @@ class ValensProgression implements IPostDBLoadMod, IPreAkiLoadMod
|
||||
{
|
||||
const profile = this.profileController.getCompleteProfile(sessionId);
|
||||
const playerLevel = this.playerService.calculateLevel(profile[0]); // find(x=>x._id === sessionId)
|
||||
const usecLvl = this.databaseServer.bots["usec"].experience.level;
|
||||
const bearLvl = this.databaseServer.bots["bear"].experience.level;
|
||||
const usecLvl = this.databaseServer.getTables().bots["usec"].experience.level;
|
||||
const bearLvl = this.databaseServer.getTables().bots["bear"].experience.level;
|
||||
|
||||
if (playerLevel >= 1 && playerLevel <= 15)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user