So I forgot a few heroes level 6000 come into map middle game. So when Solmyr was put on map, he got all skills thus learning so that meant I have to click 3000 times to end his leveling. So I wrote the block after HL
!!HE-1:N?y1;
!!FU&y1<32:E;
And still Solmyr (45) got the leveling. The script doesn't exit, I tested half hour. Only faction color and class exit. Now that I think, maybe I should have tried flag 1000 on trigger, as those are only AI heroes. Debug shows y1=45, yet script continues.
(This post was last modified: 13.12.2023 03:03 by Valery.)