promotional bannermobile promotional banner

Best Potion

BestPotion will use the best mana restoring or hitpoint restoring potion you have in your backpack.

File Details

Best Potion v2.13

  • R
  • Dec 9, 2014
  • 10.52 KB
  • 478
  • 5.0.9

File Name

BestPotion.zip

Supported Versions

  • 5.0.9

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.

No known bugs. Fully tested.