Skip to content

Comments

Guard against secret values, remove deprecated UnitBuff#36

Open
Shushuda wants to merge 3 commits intoLudiusMaximus:masterfrom
Shushuda:fix-secret-values
Open

Guard against secret values, remove deprecated UnitBuff#36
Shushuda wants to merge 3 commits intoLudiusMaximus:masterfrom
Shushuda:fix-secret-values

Conversation

@Shushuda
Copy link

@Shushuda Shushuda commented Feb 21, 2026

Guard against secret values introduced in Midnight.
Remove deprecated UnitBuff (replaced by C_UnitAuras.GetBuffDataByIndex).
Fix Travel Form exit to normal form resetting offset to 0 due to a timing issue.

This fixes Lua errors in combat that were tainting other addons to the point of breaking them beyond recovery.

This change introduces a regression for Demon Hunter's Metamorphosis detection in combat - no longer possible as-is since it's currently based on aura detection. SpellID is now a secret value in combat. It needs to be rewritten to detect model changes instead of aura changes as those are thankfully still not secret in Midnight. I am trying to figure a fix for this for a separate PR.

Fixes #35

This introduces a regression for Demon Hunter's Metamorphosis
in combat. It needs to be rewritten to detect model changes
instead of aura changes as those are not secret in Midnight.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Secret values and taint issues in Midnight

1 participant