File Details
BetterCombatText.zip
- R
- Nov 11, 2025
- 39.86 KB
- 1.0K
- 11.2.7+5
- Retail + 2
File Name
BetterCombatText.zip
Supported Versions
- 11.2.7
- 11.2.5
- 5.5.3
- 5.5.2
- 1.15.8
- 1.15.7
# Better Combat Text Enhanced | Version 2.1: Percentage System (Critical Fixes)
# Better Combat Text Enhanced | Versión 2.1: Sistema de Porcentaje (Fixes Críticos)
This version introduces the promised "Optional Percentage System" and applies critical fixes to enhance stability and user experience (UX) of slash commands.
Esta versión introduce el "Sistema de Porcentaje Opcional" prometido y aplica correcciones críticas para mejorar la estabilidad y la experiencia de usuario (UX) de los comandos slash.
---
## ✨ New Features | Nuevas Características
### Optional Percentage System (Sistema de Porcentaje Opcional)
It is a new feature that adds the percentage of remaining health of a key unit next to the floating damage and healing numbers. Its function is to provide immediate context to the combat number.
Es una nueva característica que añade el porcentaje de salud restante de una unidad clave junto a los números de daño y curación que aparecen flotando. Su función es brindar contexto inmediato al número de combate.
* **Outgoing Damage:** Shows the **Target's** remaining health at the moment of the hit.
**Daño Saliente:** Muestra la vida restante del **Objetivo** al momento del golpe.
* **Healing / Incoming Damage:** Shows the **Player's** remaining health at the moment of receiving/applying the action.
**Curación / Daño Entrante:** Muestra la vida restante del **Jugador** al momento de recibir/aplicar la acción.
### ⚙️ Configuration and Commands | Configuración y Comandos
| Command / Comando | Description / Descripción | File Modified / Archivo Modificado |
| :--- | :--- | :--- |
| **`/bct percent`** | **NEW & IMPROVED:** If used without `on`/`off`, it displays the current status (Enabled/Disabled). | `Core.lua` |
| **`/bct percent`** | **NUEVO Y MEJORADO:** Si se usa sin `on`/`off`, muestra el estado actual (Enabled/Disabled). | `Core.lua` |
| **`/bct percent on/off`** | Enables or disables the percentage display. | `Core.lua`, `Config.lua` |
| **`/bct percent on/off`** | Activa o desactiva la visualización de porcentajes. | `Core.lua`, `Config.lua` |
| UI | Description / Descripción | File Modified / Archivo Modificado |
| :--- | :--- | :--- |
| **Percentage Option in UI** | A checkbox was added to the **"Display"** tab of the configuration window (`/bct config`) to toggle percentage display. | `ConfigFrame.lua` |
| **Opción de Porcentaje en UI** | Se añadió una casilla de verificación en la pestaña **"Display"** de la ventana de configuración (`/bct config`) para alternar la visualización del porcentaje. | `ConfigFrame.lua` |
---
## 🐞 Fixes and Technical Improvements | Correcciones y Mejoras Técnicas
* **Setting Persistence:** `showPercentages` was added to default values and the saved settings table (`BCT_SavedSettings`) to ensure the setting persists between sessions.
**Persistencia del Ajuste:** Se añadió `showPercentages` a los valores por defecto y a la tabla de guardado de configuración (`BCT_SavedSettings`) para asegurar que el ajuste se mantenga entre sesiones.
* **Percentage Logic in `Parser.lua`:** An auxiliary function was implemented to reliably obtain the max and current health of the `player` or `target` and concatenate the result to floating text for damage, healing, and periodic effects (`DoT/HoT`).
**Lógica de Porcentaje en `Parser.lua`:** Se implementó una función auxiliar para obtener de manera confiable la salud máxima y actual del `player` o `target` y concatenar el resultado al texto flotante en daño, curación y efectos periódicos (`DoT/HoT`).

