1.31.0 - Unit Set Base Damage doesnt work

In the trigger editor, in the units actions, the Unit set base damage is broken. My map uses items to increase the base attack of the heroes and since the new update 1.31.0, my map is broken and the base damage of my units doesnt increase… I have minions which are more powerful overtime, they also use the Unit - Set Base damage and it doesnt work.

Someone on discord said that Blizzard changed Attack Index 1 and Attack Index 2 in the custom script language to instead be Attack Index 0 and Attack Index 1 to refer to the same values.

Does the GUI allow you yo change Attack 1 to now instead be Attack 0?

Be sure not to save the map with the Patch 1.31 editor, though. If your map is large enough, its strings (unit names, ability names) will become corrupted and after it is corrupted there is no fix.

Instead, I would suggest using Patch 1.31 PTR, which does not corrupt maps in the same manner and is therefore more stable.

1 Like

Nice.
I had the same problem.
I’ll test if this fix works.

As for working on maps.
Find a way to download 1.30.4
Use that editor.
To encrypt the map use Vexorians Optimizer save it with an MPQ from 1.29.
Then zip the map with everything enabled but scripts and SLK.