promotional bannermobile promotional banner

Better Combat Text

Better Combat Text is a World of Warcraft addon that enhances floating combat text with animations, color coding, smart grouping, and a detailed real-time damage and healing log panel.

File Details

BetterCombatText.zip

  • B
  • Oct 29, 2025
  • 18.45 KB
  • 11
  • 11.2.7+6
  • MoP Classic + 2

File Name

BetterCombatText.zip

Supported Versions

  • 11.2.7
  • 11.2.5
  • 5.5.2
  • 5.5.1
  • 5.5.0
  • 1.15.8
  • 1.15.7

🚀 Better Combat Text Enhanced - Changelog (v2.0.0 Beta Hotfix 2)

🇪🇸 I. Estabilidad Crítica y Fiabilidad del Motor

Esta versión incorpora múltiples hotfixes obligatorios para eliminar errores de inicialización y lógica de datos que causaban fallos y la inutilización del comando /bct. El Addon es ahora robusto en su carga de UI y en su procesamiento de combate.

Componente Corrección Implementada Valor Añadido
Lógica de Datos (Parser.lua) [CORRECCIÓN CRÍTICA DE DATOS] Se añadió validación estricta para asegurar que la variable color siempre devuelva una tabla válida. Eliminación de Crash: Resuelve el error bad argument #1 to 'unpack' (table expected, got nil) que hacía que el Addon fallara en combate.
Colors.lua Refuerzo de Fallback: Se mejoró la función BCT:GetDamageColor para asegurar que, bajo cualquier circunstancia (incluyendo schools de daño desconocidos), siempre devuelva un color de fallback válido y no nil. Máxima Robustez: Hace que el motor de color sea a prueba de fallos ante cualquier evento de log que no esté clasificado.
UI/CombatLog.lua [HOTFIX ESTRUCTURAL] Se corrigió el orden de inicialización en BCT:CreateCombatLogPanel() y se reinsertó la creación del resizeButton. Habilita el Panel: Soluciona errores attempt to index global '...' (a nil value), permitiendo que el panel de Log de Combate se cargue, se mueva y se redimensione.
Core.lua Corrección de Sintaxis de Slash: Se resolvió el error unexpected symbol near ')' y se corrigió la sintaxis de la tabla testTypes. Acceso Total: Garantiza que el comando /bct y sus sub-comandos sean reconocidos.
Combat\GroupManager.lua Lógica de Agrupación de Daño (Fix): Se corrigió la lógica de reinicio del acumulador para asegurar que la agrupación se resetee correctamente. Precisión Funcional: Evita que los números acumulados se "peguen" o crezcan indefinidamente.

🇬🇧 II. Critical Stability and Engine Reliability

This version incorporates multiple mandatory hotfixes to eliminate initialization and data logic errors that caused crashes and rendered the /bct command unusable. The Addon is now robust in its UI loading and combat processing.

File Fix Implemented Impact Assessment
Data Logic (Parser.lua) [CRITICAL DATA HOTFIX] Added robust strict validation to ensure the color variable always returns a valid table. Crash Elimination: Resolves the bad argument #1 to 'unpack' (table expected, got nil) error that caused the Addon to crash during combat.
Colors.lua Fallback Reinforcement: Improved the BCT:GetDamageColor function to ensure that under any circumstance (including unclassified damage schools), it always returns a valid fallback color and not nil. Maximum Robustness: Makes the color engine fail-safe against any unclassified log event.
UI/CombatLog.lua [STRUCTURAL HOTFIX] Corrected the initialization order in BCT:CreateCombatLogPanel() and re-inserted the creation of the resizeButton. Enables Panel: Solves attempt to index global '...' (a nil value) errors, allowing the Combat Log panel to load, move, and resize.
Core.lua Slash Syntax Fix: Resolved the unexpected symbol near ')' error and corrected the syntax of the testTypes table structure. Full Access: Guarantees that the /bct command and its sub-commands are recognized.
Combat\GroupManager.lua Damage Grouping Logic (Fix): Corrected the accumulator reset logic to ensure that damage grouping resets correctly. Functional Precision: Prevents accumulated numbers from "sticking" or growing indefinitely.