aboutsummaryrefslogtreecommitdiff
path: root/commands/calculate/calculate.js
diff options
context:
space:
mode:
authorNinjune <enderknight537@gmail.com>2022-12-22 03:21:02 -0600
committerNinjune <enderknight537@gmail.com>2022-12-22 03:21:02 -0600
commit329dccf50ed5e9f87531580f679522238b6a019b (patch)
tree3053852d322db744822a7dd2a05fd59d2b1e90b7 /commands/calculate/calculate.js
parent1ffc0a89be42fcde95a04a87cc00dbc347b27ece (diff)
downloadcoleweight-329dccf50ed5e9f87531580f679522238b6a019b.tar.gz
coleweight-329dccf50ed5e9f87531580f679522238b6a019b.tar.bz2
coleweight-329dccf50ed5e9f87531580f679522238b6a019b.zip
v1.8.3
Diffstat (limited to 'commands/calculate/calculate.js')
-rw-r--r--commands/calculate/calculate.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/calculate/calculate.js b/commands/calculate/calculate.js
index cc4a006..8ed05bf 100644
--- a/commands/calculate/calculate.js
+++ b/commands/calculate/calculate.js
@@ -1,7 +1,7 @@
import constants from "../../util/constants"
import { hotmCalc } from "./hotmCalc"
import { calcSpeed } from "./calcSpeed"
-import { tick } from "./tick"
+import { tickCommand } from "./tick"
import { helpCommand } from "../help"
const PREFIX = constants.PREFIX
@@ -16,14 +16,15 @@ export function calculate(args)
hotmCalc(args[1], args[2], args[3])
break
case "tick":
- tick(args[1], args[2])
+ tickCommand(args[1], args[2])
break
case "calcspeed":
case "speed":
calcSpeed(args[1])
break
case "help":
- ChatLib.chat("&b--------------[ &a&l/cw calculate &b]--------------")
+ ChatLib.chat("&b--------------[ &a&l/cw calculate &b]------------")
+ ChatLib.chat("&7(Hover over command to see usage.)")
helpCommand("calculate tick", "Calculates tick data.", "(mining speed) (('r','jade', etc) || breaking power of block))")
helpCommand("calculate speed", "Calculates the ratio of mining speed 2 to professional with a certain amount of powder.", "(powder)")
helpCommand("calculate hotm", "Calculates powder between two levels of a certain perk.", "(perk) (minlevel) [maxlevel]")