[XP] Damage numbers showing what is weak to

i have this script called Damage Font Manipulation
and i tried adding the weakness and resistance markings on it.
you know where it says:

Weak! and Resist...
150 50

this is what is looks like:
Weakness Section
1619361004713.png


Resistance Section
1619361083113.png




and it doesn't work...
i mean, it did break. it just didn't work.
how does rpg maker xp check elemental weaknesses???

Original thread: https://forums.rpgmakerweb.com/threads/xp-damage-numbers-showing-what-is-weak-to.135867/