Azlier
Old World Ghost
- Reaction score
- 461
Some abilities don't reset tooltips properly when leveled up via triggers. Charge Gold and Lumber is known to do this.
I should be updating this soon.
I should be updating this soon.
JASS:
// ResetTooltips - by Azlier
// Requires NewGen
// How to import:
// 1. Create a new trigger called ResetTooltips.
// 2. Convert the trigger to custom script, and replace all the code inside with this.
// 3. Save the map.
// 4. Close the map.
// 5. Open the map and delete all code above "library ResetTooltips".
// 6. Save the map again.
//! external ObjectMerger w3a Amls arst anam "ResetTooltips"
library ResetTooltips
globals
private constant integer RESET = 039;arst039;
endglobals
function ResetTooltips takes unit u returns nothing
call UnitAddAbility(u, RESET)
call UnitRemoveAbility(u, RESET)
endfunction
endlibrary