Files
0ad/source/simulation2/components
wraitii e916b8cc01 Improve splash damage falloff calculation to account for obstruction size.
Splash falloff was calculated using centre-to-point distance, where
nearest-edge to nearest-edge ought to have been used.
Use DistanceToPoint to correct for that.

Make sure the damage multiplier cannot go negative.
Remove GetUnitSize in favour of GetSize.

Reviewed By: bb
Differential Revision: https://code.wildfiregames.com/D2963
This was SVN commit r24010.
2020-08-31 15:01:04 +00:00
..
2020-08-03 12:02:24 +00:00
2020-08-03 12:02:24 +00:00
2020-08-03 12:02:24 +00:00
2019-01-13 15:38:41 +00:00
2018-02-03 14:17:31 +00:00
2018-02-03 14:17:31 +00:00
2018-02-03 14:17:31 +00:00
2018-02-03 14:17:31 +00:00
2019-01-13 15:38:41 +00:00
2018-02-03 14:17:31 +00:00
2018-02-03 14:17:31 +00:00
2018-02-03 14:17:31 +00:00
2020-08-03 12:02:24 +00:00
2020-08-03 12:02:24 +00:00