Lua in SpringRTS/Callins/UnitDamaged()

Return values
unitID, unitDefID, unitTeam, damage, paralyzer, weaponID, attackerID, attackerDefID, attackerTeam