mirror of
https://codeberg.org/Duvelcorp/MetaHunt.git
synced 2026-10-01 03:50:00 +00:00
Animations: wire remaining effects + 2-column options panel
- Shared FX toolkit in fx-celebrate.lua: mth_shake tween type, MTH_FX_Flash glow helper, MTH_CelebrateRunaway red shaking banner, gold title reset. - pet.runaway, pet.happiness, pet.loyaltyup, pet.feed - combat.ammoswap, combat.rangedswap, combat.mmprocs - ui.zbar, ui.stable, ui.minimapping, ui.optionsclose - book.model, book.search - Options > Animations panel now uses a balanced two-column layout. - CHANGELOG Animations entry expanded (no version bump).
This commit is contained in:
@@ -403,6 +403,7 @@ local lnl = {
|
||||
expiresAt = 0,
|
||||
DURATION = 10, -- Lock and Load real duration (tooltip: "Lasts 10 sec or until Aimed Shot is cast")
|
||||
}
|
||||
local MTH_EA_LnLWasActive = false -- for detecting the proc rising edge (animations)
|
||||
|
||||
-- ── Confirmed icon paths (captured in-game 2026-03-21) ────────
|
||||
-- Action-button spells (spellbook scan)
|
||||
@@ -700,10 +701,18 @@ MTH_EA_UpdateUI = function()
|
||||
cellTop.icon:SetVertexColor(1.00, 0.82, 0.00, 1)
|
||||
cellTop:SetBackdropBorderColor(1.00, 0.82, 0.00, 1)
|
||||
cellTopCD:SetText("|cffffffff" .. secs .. "|r")
|
||||
if not MTH_EA_LnLWasActive then
|
||||
if type(MTH_FX_Flash) == "function" and type(MTH_FX_IsEnabled) == "function"
|
||||
and MTH_FX_IsEnabled("combat.mmprocs") then
|
||||
MTH_FX_Flash(cellTop, 1.00, 0.82, 0.20, 0.55)
|
||||
end
|
||||
MTH_EA_LnLWasActive = true
|
||||
end
|
||||
else
|
||||
cellTop.icon:SetVertexColor(0.28, 0.28, 0.28, 0.40)
|
||||
cellTop:SetBackdropBorderColor(0.25, 0.25, 0.25, 0.35)
|
||||
cellTopCD:SetText("")
|
||||
MTH_EA_LnLWasActive = false
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user