Get an Epic Experience with Premium

Best Potion

Bags & Inventory Login to Add Favorites
  • 0 Likes
  • Runes of Magic
  • 125 Monthly Downloads
  • Supports: 5.0.9
  • 7,028 Total Downloads
  • Updated 10/06/2014
  • Created 04/03/2011
  • 5 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU General Public License version 2 (GPLv2)
  • Newest File: Best Potion v1.99
or

About Best Potion

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 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.
/hpmp
/hp
/mp
/bp
/bestpotion
or you can use
/run hpmpCheck()
-------------------------------
/bpecho
or
/run bpEcho()
Will tell you what the best potions are that you have in your inventory.
-------------------------------
/bpconfig is no longer used. It is obsolete as of v1.70
-------------------------------
/bpmg
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 BestPotionLoaded then
....Your action(s)
end

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.

Comments

  • #2

    Originally thought this might be a good add-on....

    Some recommendations .

    I used the Auto macro maker built in to the add-on....
    -  Add Ability to turn off Spamming of inventory in Chat box with a slash command.
    -  Add Priority ability of Potion elixir type.  i.e. Do I want to use Vendor then Crafted then Phirius...
    -  Ability to use quest items to restore HP/MP i.e. Holiday candies/biscuits

    End decision:
    Uninstalled due to the spamming

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

VIP trip to SMITE World Championship