ForbodingAngel

Untitled

Jul 30th, 2014
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. --Remove damage hardcoded in the engine of gibbed pieces of units (hardcoded to 50 damage in engine)
  2. function gadget:UnitPreDamaged(unitID, unitDefID, unitTeam, damage, paralyzer, weaponDefID, projectileID, attackerID, attackerDefID, attackerTeam)
  3. if weaponDefID == -1 then
  4. return 0, 0
  5. end
  6. return damage
  7. end
Advertisement
Add Comment
Please, Sign In to add comment