Repository navigation
Conversation
Throwaway commit used only to open a test pull request on the fork and see how the repo PR template renders. Never merged; the branch is deleted afterwards.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a Prey Hunt Bar to Quality of Life: a large hunt icon with a 4-segment tier bar under it (Cold, Warm, Hot, Final) that fills and recolors as the hunt heats up, plus a pulsing dot while the hunt has a timer. Hovering it shows Blizzard's own hunt text.
Cause: Blizzard's Prey Hunt bar lives in
UIWidgetPowerBarContainerFrame, which Edit Mode can move mid-hunt, so the bar jumps away from where the player put it.Fix:
EllesmereUIQoL/EllesmereUIQoL_PreyBar.luareads the same widget data fromC_UIWidgetManagerand draws it on an EUI-owned frame that Edit Mode never touches. Blizzard's container is only hidden by alpha while a hunt shows, never reparented or moved.singleSizeelement flag (MakeUnlockElement,EUI_UnlockMode_Movers.lua) gives it one Size box that sets width and height together, with no width/height match buttons. Elements that don't set the flag, including the existinglinkedDimensionsones, are unchanged.savePosstores the coordinates Unlock Mode hands over, so Exit Without Saving puts the bar back on its old spot.Cost: one
UPDATE_UI_WIDGETlistener that returns at once for any widget that is not a Prey Hunt; the frame repaints only when the hunt's widget changes.How was it tested?
Guardrails and the locale-key check pass.
Screenshots
Before: Blizzard's bar after jumping mid-hunt.
(image)
After: the EllesmereUI bar on its saved spot.
(image)
Checklist
HookScript/hooksecurefunconly, neverSetScripton Blizzard frames - Blizzard's container only getsSetAlpha