Code: Select all
function gadgetHandler:UnitDamaged(unitID, unitDefID, unitTeam,
damage, paralyzer,
attackerID, attackerDefID, attackerTeam)
I'm planning on trying to overthrow springs damagesystem completly and make my own mechanics for it in LUA, so it's easy to add in resistances, armor, shields, damagemodifiers and whatnot.
Another workaround I would probably use is to use the standard damage as identifiers, tough this would probably be hard due to variations like the flanking damagebonuses and the like.