View Feature Request
Additional Damage School Colors
Feature #: 5016
File: MikScrollingBattleText
Date: 06-10-23 05:37 AM
By: S_Bahn_Berlin
Status: Under Review
Hi, I have modified the code in my installation of MSBT such that all damage schools in the game code can have a specific text color associated with them. If you wish, I can send you my modified addon files.

In the current downloadable version, custom colors can be set for the following:
  • Physical
  • Holy
  • Fire
  • Nature
  • Frost
  • Shadow
  • Arcane
  • Frostfire (Fire, Frost)
  • Shadowflame (Fire, Shadow).

All other damage schools have their text in the default color #FFFF00 (yellow). I have added all remaining damage types used in current World of Warcraft:
  • Holystrike (Holy, Physical)
  • Flamestrike (Fire, Physical)
  • Stormstrike (Nature, Physical)
  • Froststrike (Frost, Physical)
  • Shadowstrike (Shadow, Physical)
  • Spellstrike (Arcane, Physical)
  • Radiant (Holy, Fire)
  • Holystorm (Holy, Nature)
  • Holyfrost (Holy, Frost)
  • Twilight (Holy, Shadow)
  • Divine (Holy, Arcane)
  • Volcanic (Fire, Nature)
  • Spellflame (Fire, Arcane)
  • Froststorm (Nature, Frost)
  • Plague (Nature, Shadow)
  • Astral (Nature, Arcane)
  • Shadowfrost (Frost, Shadow)
  • Spellfrost (Frost, Arcane)
  • Spellshadow (Shadow, Arcane)
  • Elemental (Fire, Frost, Nature)
  • Cosmic (Holy, Shadow, Nature, Arcane)
  • Chromatic (Fire, Nature, Frost, Shadow, Arcane)
  • Magic (Holy, Fire, Nature, Frost, Shadow, Arcane)
  • Chaos (Physical, Holy, Fire, Nature, Frost, Shadow, Arcane)

Note: the last three are all referred to in-game as 'Chaos damage', but which one is used is different per spell. I need to set all three so all 'Chaos' damage spells are colored correctly. I have assigned all three the same default color.

The default colors I set were interpolated from the main damage school colors already used by the add-on, unless I thought a specific color fit better.

This does make the selection menu for damage colors pretty long, as I simply expanded the list and resized the window frame drawn, but maybe there's a better solution (I'm relatively new to Lua as a whole).

Many of those damage types are only used by NPC spells, or by very few player spells, so one may have them disabled by default if they find this to be too colorful.