Thx.
Yes, resist-indicator works finally, but not satisfying. I used the "gen_army_map" function, which run when mouse over unit on mainpanel (or hero), set global variables with correct values. But this not work with reserved units, not work in shops, not work in battlefields; so this way not practical for dlg_chesspiece, only info_chesspiece roughly.
On battlefields, AU.resistance(unit, index) method "unit" parameter is attacker or receiver, not a concrete unit, no way to use a concrete unit. "on_round_start" function run when first damage in round, not when round starting, great logic

. Most of label-generating functions run when c code want it, labels not work anytime. Events, buttons still inaccessible, so unfortunately, full lua code (and probably c too) is a big stinking bullshit, serious mods can not be made with available tools and possibilities, only some superficial cosmetics
Maybe in the near future, i will refine this mod, write an installer (and perhaps a tweaker), But im waiting for an official wotn patch.
So this game
Story, texts, humor > 10*
Graphics, models, animations > 10*
Tactic, abilities, spells, items > 10*
Sounds, effects > 10*
Battle AI = 5
Buildings, map AI = missing
Code and editor ~ zero