Added 1 minute ago
Good afternoon. Does anyone know if it's possible to redefine unit behavior in hooks? For example, a unit fires, and then a certain effect is applied to the unit that received damage. I only saw UnitMove, which is then divided into "sub-hooks". But in all of them, only the sUnitName parameter is passed. So, it seems that you can only control the attacking unit, but not the unit being attacked. Is it possible to find out who is the unit being attacked and how much damage it received?