Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to customize the priority order #25

Open
twisted-pretzel opened this issue Jul 19, 2023 · 4 comments
Open

Option to customize the priority order #25

twisted-pretzel opened this issue Jul 19, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@twisted-pretzel
Copy link

would be great to be able to customize the priority order of the healing sources, i.e.: when you want to use health potion first early on so it's available near the end of a fight

thanks.

@bedroombull
Copy link

bedroombull commented Oct 2, 2023

I was curious about this too. I believe I've got it to work by making the following change in \Interface\AddOns\AutoPotion\code.lua

Find this:

local function updateAvailableHeals()
ham.itemIdList = {}

addPlayerHealingSpellsIfAvailable()
addPlayerHealingItemIfAvailable()
addHealthstoneIfAvailable()
addPotIfAvailable()
end

Replace with this:

local function updateAvailableHeals()
ham.itemIdList = {}

addPlayerHealingSpellsIfAvailable()
addPlayerHealingItemIfAvailable()
addPotIfAvailable()
addHealthstoneIfAvailable()
end

@ollidiemaus
Copy link
Owner

This would work on a per user basis but is not really customizable.
I'll take a look at this at someday.

@ollidiemaus ollidiemaus added the enhancement New feature or request label Nov 10, 2023
@davethemage
Copy link
Contributor

davethemage commented Aug 7, 2024

I used to have a weak aura that did just this, but with the changes in TWW, macros can no longer click frames that have macrotext associated with them.

I hope it's alright, I made a fork and made the changes here.
main...davethemage:AutoPotion:main
I added a pull request as well.

Thanks!

@lssdo12
Copy link

lssdo12 commented Nov 15, 2024

这可以针对每个用户进行操作,但实际上无法自定义。 我以后会研究一下。

I think at least it is necessary to be able to customize the order of the health stone and injector. I prefer to use the health stone first and then the injector because the CD of the health stone is faster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants