How to change combat preview text [SOLVED]

Cagarustus

Prince
Joined
Mar 9, 2017
Messages
386
Hi all,

I've created a Mod which buffs anti-cavalry units and it works, but I want to change the combat preview text (i.e. the text which is displayed in the bottom right corner when you hover over an enemy unit (whilst having your own unit selected). I've inserted the respective code:

INSERT OR REPLACE INTO LocalizedText (Tag, Language, Text) VALUES
('LOC_ABILITY_ANTI_CAVALRY_MODIFIER_DESCRIPTION', 'en_US', '+30 vs. cavalry units'),
('LOC_ABILITY_ANTI_SPEAR_MODIFIER_DESCRIPTION', 'en_US', '+30 Combat vs. anti-cavalry units');

I've located the file in both UpdateText and UpdateDatabase, but it stills displays '+10....' instead.

How do I Update or Replace +10 with +30?
 
Back
Top Bottom