File Details
ResourceArchitect v0.2.0.zip
- R
- May 21, 2026
- 7.49 MB
- 95
- 12.0.7
- Retail
File Name
ResourceArchitect v0.2.0.zip
Supported Versions
- 12.0.7
v0.2.0
Features:
- Threshold Zones: configurable bar-color tinting based on resource percentage. Snap and Smooth Blend modes. Independent configs for primary bar and secondary blocks (combo points, holy power, runes, etc.). Uses Blizzard's C_CurveUtil.CreateColorCurve + UnitPowerPercent for full compatibility with Midnight 12.0.x restricted resources.
- Threshold Sounds: play a configurable sound when the secondary resource count crosses a threshold on gain. Curated sound list, multiple thresholds supported.
- Abbreviated Numbers: large resource values display as 1.5K / 1.2M / 1.4B. Uses Blizzard's AbbreviateNumbers API for restricted-resource specs. Toggle per-character in Resource Text > Display.
- Hide Off-Spec Primary Bar: new Visibility toggle hides the primary bar when the current shapeshift form's resource doesn't match the spec's inherent primary (e.g. Resto Druid in Moonkin Form).
- Per-Tab Reset: every settings tab has a "Reset This Tab" button with confirmation popup. Resets only the keys for that tab to defaults.
- Settings window remembers last viewed tab/section within a session.
Engine:
- UnitPowerPercent integration for percentage display on restricted-resource specs. Supports 2-arg, 3-arg, and 4-arg (CurveConstants.ScaleTo100) call signatures with automatic fallback.
- ColorCurve-based threshold evaluation for restricted resources via UnitPowerPercent's 4-arg curve form. Cached per zone configuration, invalidated on settings change.
- Removed deferred clean-read timer (C_Timer.After) that was producing stale 0/1 ratio values on login.
- ResourceResolver is now form-aware for Druids: GetSecondaryResource returns POWER_COMBO when in Cat Form regardless of spec.
- Added IsPrimaryOffSpec() to ResourceResolver for off-spec primary detection.
- ResourceEngine fires RefreshAll + ApplySettings on UPDATE_SHAPESHIFT_FORM for Guardian Druid CP support.
Display:
- OnPrimaryChanged secret-tainted path now uses securecallfunction with UnitPowerPercent for PERCENT, CURRENT_PERCENT, and CURRENT_MAX text formats.
- Secret-tainted abbreviation path uses Blizzard's AbbreviateNumbers (C-side, accepts restricted values) for CURRENT, CURRENT_MAX, and CURRENT_PERCENT formats.
- buildThresholdColorCurve builds Step or Linear C_CurveUtil curves from user zones. evalThresholdCurveColor evaluates via UnitPowerPercent and returns r,g,b for securecallfunction(SetStatusBarColor).
- Threshold curve cache invalidated on every ApplySettings call.
GUI:
- Renamed "Color Zones" to "Threshold Zones" across all user-facing strings.
- Removed Class Overrides: Death Knight and Class Overrides: Rogue / Druid from LAYER_SUB_ITEMS sidebar (cards still accessible by scrolling).
- Added "Abbreviate large numbers" checkbox in Resource Text > Display.
- Preview formatPreviewText now respects abbreviateNumbers setting.
- Added abbreviateNumbers to TAB_RESET_KEYS for Resource Text.
- Version string updated to 0.2.0 in window header.
Fixes:
- Percentage text formats (PERCENT, CURRENT_PERCENT) no longer show "0%" on restricted-resource specs (Discipline Priest mana, etc.).
- Text format switching now applies to the live in-game bar immediately via settings-replay RefreshPrimary path.
- Guardian Druid in Cat Form now shows Combo Points as secondary resource.
- PreviewState returns correct max count for current spec (e.g. 5 Holy Power for Holy Paladin).
- Secondary border color pickers now use card-based layout consistent with other color controls.
- Threshold list items restyled to card-row pattern (consistent height, background, swatch).
- Threshold tick color picker restyled to card-row pattern.
- Consistent typography in threshold percentage and label input fields.

