You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/firebot/commands/rpg-trainer.ts
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,19 @@ async function shopTrainStat(
24
24
const{ upgrades }=awaitgetWorldMeta();
25
25
constcharacterName=awaitgetUserName(username);
26
26
const{ trainer }=upgrades;
27
-
conststatLimit=trainer+1*getTrainingLevelLimit();// Players start at 10, so add one level to trainer for stat limit.
27
+
28
+
// We need to calculate the stat limit now based on user settings. We need to add a number to the trainer level so that the stat limit takes into account stats starting at 10.
0 commit comments