Commit Graph

45 Commits

Author SHA1 Message Date
NoM0Re bda851552d 5.19.10 2025-05-31 22:54:39 +02:00
NoM0Re 4d47aabcda (feature/LibGlow) add Proc Glow (#35) 2025-05-01 18:43:54 +02:00
NoM0Re 53e99cc6cd (fix/libs) handle WoW API-shortened talent name for resto druid on deDE locale 2025-04-22 16:40:40 +02:00
NoM0Re 417faf1b00 (fix/anchor)band-aid for anchoring to hidden nameplates 2025-04-14 17:23:56 +02:00
NoM0Re b2211d8689 (fix/spec) esES localisation 2025-04-02 10:19:48 +02: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 48d75b0352 (Libs/LibBabble-TalentTree) fix ruRU localization 2025-02-22 13:17:49 +01:00
NoM0Re 02fe8164f6 from retail 2025-02-16 20:50:05 +01:00
NoM0Re 2e91a460da fix elvui np 2025-02-15 14:50:44 +01:00
NoM0Re 91641b31f2 port LibGetFrame to newest
depends on AceTimer, can have regressions due to lack of testing
2025-02-04 17:27:16 +01:00
NoM0Re 95a13c6896 fix libs not loading, use libgrouptalents, but still not working 2025-02-01 20:17:50 +01:00
NoM0Re a99f7bd323 prepare LibGroupTalents, fix broken rebase 2025-01-27 18:40:55 +01:00
NoM0Re 31bcef0dc7 Merge branch 'update' of https://github.com/NoM0Re/WeakAuras-WotLK into update 2025-01-27 17:05:03 +01:00
NoM0Re 84ac2d5bfa update LibCustomGlow, but still no Proc Glow 2025-01-27 17:05:01 +01:00
NoM0Re 857f71de3a Merge branch 'master' into update 2025-01-27 03:34:20 +01:00
NoM0Re 4ed4d4159b from retail 2025-01-23 19:40:40 +01:00
NoM0Re a3d856372e fix elvui np anchoring 2025-01-17 13:12:05 +01:00
NoM0Re 8375cfa0a7 from retail 2025-01-06 12:53:01 +01:00
NoM0Re 86e98d6bcf Update general layout of WeakAurasOptions (#8)
* from retail

* (fix) improve pixel snapping by reapplying borders

* update spinbox texture

* add icons, loaded, standby, unloaded behavior from retail

* further use of ported inputbox and cleanup to ported frames

* move templates into WeakAuras and upversion
2025-01-04 19:33:14 +01:00
NoM0Re 909f61f102 add nameplate trigger/anchor with awesome wotlk 2024-06-29 18:33:34 +02:00
Bunny67 eb0e557f19 may be fix typo 2022-01-01 10:26:37 +03:00
Bunny67 7c54264844 temp fix usage CreateFramePool 2021-09-12 14:29:36 +03:00
Bunny67 e7599b2e82 small revert 2021-04-12 20:14:42 +03:00
Bunny67 5c2ac0f61c Update AceTimer-3.0.lua 2021-04-12 19:56:44 +03:00
Bunny67 83218cc87c update LibGetFrame 2021-03-12 01:04:36 +03:00
Bunny67 7cbc40c959 beta 2020-11-15 23:43:10 +03:00
Bunny67 368a646da5 beta 2020-09-16 23:03:25 +03:00
Bunny67 aebf8147e8 update LSM 2020-08-23 14:49:39 +03:00
Bunny67 905a88f3a4 fix #41 2020-08-01 15:52:01 +03:00
Bunny67 85345af8a2 from retail 2020-07-14 00:44:45 +03:00
Bunny67 1fab884928 update libs 2020-07-11 22:49:45 +03:00
Bunny67 bbb4ac1c37 fix #33 2020-07-10 17:05:49 +03:00
Bunny67 317375e120 cleanup LibCustomGlow 2020-07-03 17:21:41 +03:00
Bunny67 7e15296d21 abandon C_Timer 2020-06-29 18:45:14 +03:00
Bunny67 9a42c57421 missing validationErrorPopup 2020-06-29 18:44:28 +03:00
Bunny67 a02d679718 cleanup the pixel glow 2020-06-21 17:14:54 +03:00
Bunny67 a6061fe27e again pixel glow 2020-06-20 23:45:59 +03:00
Bunny67 aeef230c04 experimental pixel glow 2020-06-20 21:55:48 +03:00
Bunny67 e8165b4dd8 experimental pixel glow 2020-06-20 19:03:07 +03:00
Bunny67 27027f1076 remove border in pixel glow 2020-06-14 14:24:12 +03:00
Bunny67 1374999095 ace timer from retail 2020-06-12 18:41:08 +03:00
Bunny67 de72394bda from retail 2020-06-09 23:31:40 +03:00
Bunny67 7781111643 oops 2020-06-05 20:33:33 +03:00
Bunny67 b2cede99f0 change C_Timer 2020-06-03 16:43:25 +03:00
Bunny67 f2e1a0928d init 2020-06-02 23:40:06 +03:00