aboutsummaryrefslogtreecommitdiff
path: root/commands/calculate/hotmCalc.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/calculate/hotmCalc.js')
-rw-r--r--commands/calculate/hotmCalc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/calculate/hotmCalc.js b/commands/calculate/hotmCalc.js
index 7fa947c..1b449d4 100644
--- a/commands/calculate/hotmCalc.js
+++ b/commands/calculate/hotmCalc.js
@@ -20,7 +20,7 @@ export function hotmCalc(hotmName, minLevel, maxLevel)
if(maxLevel == undefined)
{
maxLevel = minLevel
- minLevel = 1
+ minLevel = 2
}
if(minLevel != parseInt(minLevel) || maxLevel != parseInt(maxLevel)) return ChatLib.chat(constants.CALCULATEERRORMESSAGE)
@@ -74,5 +74,5 @@ export function findCost(costFormula, minLevel, maxLevel, fortunate = false)
export function findReward(rewardFormula, minLevel, maxLevel)
{
- return eval(rewardFormula.replace("Level", 1+maxLevel-minLevel))
+ return eval(rewardFormula.replace("Level", 2+maxLevel-minLevel))
} \ No newline at end of file