BestPotion by ZTrek
BestPotion will scan through your inventory and use the best mana, hitpoint, rage, energy, focus restoring potion via a macro.
New as of version 2.1
Minimap button: Hover over button to see what potions you have in your inventory and what the best potions are that you can use
Left click the mimimap button to trigger Best Potion or use the macro generated by typing /bpmg into the chat window
Removed the bpEcho function: replaced by the minimap button's tooltip
New as of version 1.99
Restore over time potions will only be used when the percentage is between 50% and 75%
Instant(crafted) potions will only be used when the percentage is between 25% and 50%
Phirius potions will only be used when the percentage is below 25%
New as of version 1.70
1. Best Potion will check for Priest or Druid primary or secondary class and cast the best healing spell you have rather then to use up a potion but it will only use a healing spell if that spell will heal for a higher percentage than the potions in your inventory or if all potions are on cooldown.
2. Best Potion no longer uses action bar slots
3. Best Potion is no longer configurable by the player(everything needed is calculated internally).
4. Best Potion will work in any language.
5. BestPotion will now use Phirius potions .
Best Potion will check for cooldowns on potions and use alternate potions that are not on cooldown. There are 3 types of potions in RoM and they all have separate cooldowns.
1. Vendor bought restore over time potions
2. Crafted potions that restore a single large amount immediately
3. Phirius potions which restore a percentage.
Use ONE of the following slash commands in your macro.
or you can use
Will generate a macro for you but only for Best Potion itself. i.e. not for any combat skills you would be using
To test if the Best Potion addon is loaded in a function or addon use
if BestPotions then
v2.13 Optimized code
v2.11 Localized for German, French, Spanish and Italian
v2.1 Added a minimap button: read description
v1.99 Best Potion now triggers at different percentages for hp and mp potions as follows:
HP and MP restore over time potions(vendor bought) won't trigger until HP or MP get below 75%
HP and MP instant potions(crafted) won't trigger until HP or MP is between 25% and 50%
HP and MP phirius potions won't trigger until HP or MP get below 25%
v1.9 Optimized code
v1.87 Added more high level HP and MP items to Best Potions database so they will be used by the addon
v1.85 Added the 2 level 70 potions(Swift Healing and Swift Thinking) to Best Potions database so they will be used by the addon
v1.84 Best Potion will no longer spam the chat window when using potions. A warning message will be displayed if there are less then 10 potions left of the ones currently in use.
v1.82 fixed a wrong Item ID for Phirius Special Water - Type A and other minor tweaks
v1.81 I removed the automation using events because it simply doesn't work and causes OnEvent errors preventing Best Potion from working at all when run from a macro. Also I added in an additional check which prevents Best Potion from wasting potions.
v1.80 Best Potion is now automated with events but if you are launching Best Potion via a macro then that is still the best option
v1.75 fixed healing spell formula calculations
v1.74 added in some checks so that mana is not wasted
v1.73 fixed errors in code for mana potions
v1.72 change made so that Best Potion will not try to use Phirius potions in siege
v1.71 added percentage restored to data displayed from bpEcho
v1.70 major code rewrite..see addon description for all the details
v1.36 minor code change
v1.35 finally got potion cooldown check to work.
v1.32 changed healing function to check for Priest or Druid primary or secondary class and cast Urgent Heal or Recover
v1.31 small change to text output adding some more colored text
v1.30 code rewritten to be more compact and efficient
v1.24 Best Potion will now tell you if you're using the best potions that are available for your level
v1.22 minor code change
v1.21 minor code change
v1.20 Many changes added. Best Potion now works for all classes and saves and loads your saved options correctly
v1.18 Small bug fix
v1.17 Most of the code was rewritten to be as efficient as possible. Ability to now configure and save options per character
v1.12 some minor code change to show how many potions you have left
v1.11 bug fix that was causing the game to crash
v1.10 code condensed to be much shorter and more efficient thanks to Peryl(you rock dude!)
v1.09 another major code change to check for level requirement of hp and mp restoring potions(items); also removed cooldown check since it didn't work the way it should and isn't really needed
v1.07 major code change
v1.06 minor code change
v1.05 added all known healing and mana restoring potions and items.
|File Name||Release Type||Game Version||Downloads||Date|
|Best Potion v2.13||Release||5.0.9||208||12/09/2014|
|Best Potion v2.11||Release||5.0.9||31||12/03/2014|
|Best Potion v2.1||Release||5.0.9||94||11/10/2014|
|Best Potion v1.99||Release||5.0.9||130||10/06/2014|
|Best Potion v1.9||Release||5.0.9||174||08/12/2014|
|Best Potion v1.87||Release||5.0.9||272||04/23/2014|
|Best Potion v1.85||Release||5.0.9||64||04/18/2014|
|Best Potion v1.85||Release||5.0.9||5||04/18/2014|
|Best Potion v1.84||Release||18.104.22.1680||1,362||05/13/2012|
|Best Potion v1.82||Release||22.214.171.1240||820||12/30/2011|
|Best Potion v1.81||Release||126.96.36.1990||130||12/24/2011|
|Best Potion v1.80||Release||188.8.131.520||104||12/21/2011|
|Best Potion v1.75||Release||184.108.40.2060||117||12/14/2011|
|Best Potion v1.74||Release||220.127.116.110||79||12/13/2011|
|Best Potion v1.73||Release||18.104.22.1680||198||12/10/2011|
|Best Potion v1.72||Release||22.214.171.1240||290||12/04/2011|
|Best Potion v1.71||Release||126.96.36.1990||206||12/02/2011|
|Best Potion v1.70||Release||188.8.131.520||53||12/02/2011|
|Best Potion v1.35||Release||184.108.40.2063||101||09/20/2011|
|Best Potion v1.32||Release||220.127.116.113||282||09/06/2011|
|Best Potion v1.31||Release||18.104.22.1683||358||08/18/2011|
|Best Potion v1.30||Release||22.214.171.1243||98||08/17/2011|
|Best Potion v1.24||Release||126.96.36.1993||283||08/04/2011|
|Best Potion v1.22||Release||188.8.131.523||439||07/01/2011|
|Best Potion v1.21||Release||184.108.40.2063||23||07/01/2011|
|Best Potion v1.20||Release||220.127.116.113||26||06/30/2011|
|Best Potion v1.18||Release||3.0.9||16||05/27/2011|
|Best Potion v1.17||Release||3.0.9||10||05/20/2011|
|Best Potion v1.12||Release||3.0.9||13||04/22/2011|
|Best Potion v1.11||Release||3.0.9||13||04/10/2011|
|Best Potion v1.10||Release||3.0.9||12||04/08/2011|
|Best Potion 1.09||Release||3.0.9||10||04/08/2011|
|Best Potion v1.07||Release||3.0.9||6||04/06/2011|
|Best Potion v1.06||Release||3.0.9||11||04/06/2011|