https://springrts.com/wiki/Lua:Callins#UnitDamaged
Code: Select all
addon.UnitDamaged(unitID, unitDefID, unitTeam, damage, paralyzer, weaponDefID, projectileID, attackerID, attackerDefID, attackerTeam)
https://github.com/spring/spring/blob/a ... ler.h#L465
Code: Select all
ITERATE_UNIT_ALLYTEAM_EVENTCLIENTLIST(UnitDamaged, unit, attacker, damage, weaponDefID, projectileID, paralyzer)