Commit Graph

194 Commits

Author SHA1 Message Date
NoM0Re 51bac56479 5.19.8 2025-04-13 16:03:55 +02:00
NoM0Re a595ef2a4a 5.19.7 2025-04-04 09:55:04 +02:00
NoM0Re 6cdfcac1b1 5.19.6 2025-04-03 21:03:11 +02:00
NoM0Re f79455adbb (fix/StopMotion) up/down buttons for start/end percent 2025-04-03 21:01:07 +02:00
NoM0Re b6d0bb7dce (fix) SpellCache ignores gear icon now correctly 2025-03-14 16:44:15 +01:00
NoM0Re 83665d7b0b (fix) Spell Cache functions 2025-03-14 15:53:43 +01:00
NoM0Re 514845c2aa small fixes 2025-03-14 12:14:56 +01:00
NoM0Re 3c574cb4a6 5.19.5
No new features this release, just fixes to some minor bugs.
2025-03-14 00:48:30 +01:00
NoM0Re b610365ea3 (fix/Groups) Dynamic Group and Group Thumbnails Also Use SetTextureOrSpellTexture 2025-03-08 19:30:38 +01:00
NoM0Re 2aea3b7a0d Gradient implementation 2025-03-01 17:14:36 +01:00
Lundmark 85c1f5e542 (fix/tooltips) SetSpellByID -> Hardcoded Spell Escape Sequence strings
this is a fix for GameTooltip for Spells. In 3.3.5 API, GameTooltip:SetSpellByID only allows player known spells to be set.
The workaround for this is using GameTooltip:SetHyperlink() and hardcoding an escape sequence for spells.
2025-02-27 14:05:48 +01:00
NoM0Re 04233722ee 5.19.4 and fix #20 2025-02-27 07:49:48 +01:00
NoM0Re c48ce524f8 from retail 2025-02-25 21:49:19 +01:00
NoM0Re 7c7869494e 5.19.3
Add methods to the states/allstates table that helps with creating,
updating or remove states in an optimized way

## Advantage of using this function instead of doing a states[key] = {
... }

- If already created, update existing state, and return true if any
value was changed, this can help reduce amount of resources an aura use

- Automatically `return true` when using these functions and any change
was made

## Examples

```Lua
function(states, event, ...)
    if event == "PLAYER_TARGET_CHANGED" then
        if UnitExists("target") then
            -- if state exists it's updated, not replaced
            -- show & changed fields can be skipped
            states:Update("", {
                    name = UnitName("target"),
                    duration = 5,
                    expirationTime = GetTime() + 5,
                    progressType = "timed",
                    autoHide = true
            })
        else
            -- wipe
            states:RemoveAll()
        end
    end
    -- no need to return true
end
```

with clones

```Lua
function(states, event, ...)
    local currentEssence = UnitPower("player", Enum.PowerType.Essence)
    local maxEssence = UnitPowerMax("player", Enum.PowerType.Essence)
    for i = 1, 6 do
        if i > maxEssence then
            states:Remove(i) -- wipe allstates[6]
        else
            local value = currentEssence >= i and 1 or 0
            local newState = {
                progressType = "static",
                value = value,
                total = 1
            }
            states:Update(i, newState)
        end
    end
    -- no need to return true
end
```
2025-02-24 22:10:45 +01:00
NoM0Re ac56d8816a Version Bump to 5.19.2, Introduce Talent Widget in Load, Rework Talent Known Trigger 2025-02-23 01:21:25 +01:00
NoM0Re 20ce3ed27f fix workflow/issue templates 2025-02-20 12:25:51 +01:00
NoM0Re fd6a0b01f4 from retail 2025-02-18 19:30:43 +01:00
NoM0Re 6714432be6 from retail 2025-02-18 17:13:03 +01:00
NoM0Re 02fe8164f6 from retail 2025-02-16 20:50:05 +01:00
NoM0Re a5116d560a fix last commit 2025-02-15 18:13:50 +01:00
NoM0Re 7a27fdae47 from retail diffcheck complete 2025-02-15 18:09:04 +01:00
NoM0Re ad18a2bd7f fix dragging 2025-02-14 19:03:25 +01:00
NoM0Re 290981ff25 from retail
diffchecked
2025-02-14 18:46:41 +01:00
NoM0Re 436041dd92 from retail
diffchecked
2025-02-13 18:59:41 +01:00
NoM0Re 4c6277c667 from retail
diffchecked
2025-02-13 18:18:03 +01:00
NoM0Re 5c9b4aeb4e from retail
fix of the reverted commit
2025-02-12 21:40:08 +01:00
NoM0Re f94aff6a9d from retail 2025-02-11 20:18:57 +01:00
NoM0Re 5d1ac74d27 Rework LibGroupTalents now also returns function returns additionally, add Spec Role triggers to load/generic/bt2, fix WeakAuras.GetRegion
- **WeakAuras.SpecForUnit(unit)** = Returns: `classFileName..spec`, `Dominant Tree`, `spent1`, `spent2`, `spent3`
- **WeakAuras.GetUnitRole(unit)** = Returns one of: `"melee"`, `"caster"`, `"healer"`, `"tank"`
- **WeakAuras.SpecRolePositionForUnit(unit)** = Returns: `Dominant Tree`, `spent1`, `spent2`, `spent3`
- **WeakAuras.CheckTalentForUnit(unit, talentId)** = Returns: `"Points spent"` in talent or `nil`
- **WeakAuras.CheckGlyphForUnit(unit, glyphId)** = Returns: `true` if the player has the glyph associated with `spellID` or `spellName`, we can only see the glyphs of players running `LibGroupTalents-1.0`
2025-02-11 00:12:30 +01:00
NoM0Re f3a7bb8993 from retail 2025-02-09 14:21:45 +01:00
NoM0Re 4f40aa0b40 from retail 2025-02-09 02:42:51 +01:00
NoM0Re f806ecf316 fix OptionsFrame not using saved framepostion and fix dynamicTextCodesFrame 2025-02-08 18:31:53 +01:00
NoM0Re 5cdb9aed28 port newest WeakAurasStopMotion and include it
https://www.patreon.com/posts/new-stop-motion-119300059
2025-02-06 23:22:05 +01:00
NoM0Re d3c8a9bf3e Make LibGroupTalents work now, but still requires regressions
Arguments might still shut be shared from the original call for custom auras.
More functions need to be added to prototypes.
Documentation is needed soon.
2025-02-06 21:31:45 +01:00
NoM0Re b9e3113eab from retail
Icon Picker supports now also ID's. catch pattern may needs a regression.
2025-02-04 15:49:16 +01:00
NoM0Re 3913a570fa from retail 2025-02-02 19:22:54 +01:00
NoM0Re 95a13c6896 fix libs not loading, use libgrouptalents, but still not working 2025-02-01 20:17:50 +01:00
NoM0Re 857f71de3a Merge branch 'master' into update 2025-01-27 03:34:20 +01:00
NoM0Re 8e07a6495c from retail 2025-01-27 03:28:33 +01:00
NoM0Re 0e761a6814 from retail 2025-01-26 21:52:59 +01:00
NoM0Re f9bf9c3c16 from retail 2025-01-26 21:24:18 +01:00
NoM0Re 38533d0e99 from retail
diffchecked
2025-01-26 19:24:17 +01:00
NoM0Re dcd0f833ac from retail 2025-01-26 12:33:16 +01:00
NoM0Re 4750b095d3 from retail 2025-01-26 03:47:13 +01:00
NoM0Re 4884ac5132 fix versioncheck 2025-01-26 00:45:56 +01:00
NoM0Re 667a2f3f50 from retail 2025-01-25 23:37:36 +01:00
NoM0Re 4a326118da from retail 2025-01-25 20:07:12 +01:00
NoM0Re c066688fef from retail 2025-01-25 19:03:51 +01:00
NoM0Re e8451987a3 from retail 2025-01-25 18:42:10 +01:00
NoM0Re 103dc2137a from retail 2025-01-25 18:23:29 +01:00
NoM0Re 87c1e2fbaf from retail 2025-01-25 17:46:46 +01:00