SimpleCalc is a simple mathematical calculator addon for World of Warcraft.
In essence, it's a slash-based utility which allows you to do maths!
Example usage and response:
/calc 10415 - 9843 + 12
[SimpleCalc]: 10415 - 9843 + 12 = 584
SimpleCalc also supports advanced expressions. Example:
/calc 8^2/(2^3)
[SimpleCalc]: 8^2/(2^3) = 8
A selection of in-game values has been added to make life easier when doing certain calculations. You can use keywords in place of numbers for the following values:
* honour / honor - Honor points at current level
* maxhonor / maxhonour - Honor required to reach next level
* achieves - Your total achieve points
* health (or hp) - Your maximum Health points
* mana (or power) - Your maximum Mana, Rage, Focus, Energy, or Runic Power
* gold - Total gold (If you had 1g 50s, this would be 1.5)
* silver - Total silver (If you had 1g 50s, this would be 150)
* copper - Total copper (If you had 1g 50s, this would be 15000)
* garrison - Garrison resources (WoD)
* orderhall - Order Hall resources (Legion)
* resources - War resources (BfA)
* maxxp - XP required to level
* xp - Current XP
* stygia - Maw resources (SL)
* ash - Legendary resources (SL)
* anima - Covenent resources (SL)
For example:
/calc 1650 + 2200 - honor
[SimpleCalc] 1650 + 2200 - honor = 3078
Let's say you need 4250 gold. You can see how much gold you need by doing:
/calc 4250-gold
[SimpleCalc] 4250-3125.5652 = 1124.4348
That means you would need 1124g 43s 48c
Support for user defined variables was added in version 0.4. Variables persist across sessions, so you can save values for later use really easily.
To save a value or calculation: /calc addvar mountGold = 4250 or /calc addvar x = 32*2+64 or even /calc addvar mountGold+500+240
Comments, suggestions and bug reports are most welcome!