Added new HOOK_ONEXPLOSION and a new mode "set_explosion_max_targets" to metarule2_explosions (from Mr.Stalin) (#35)

This commit is contained in:
NovaRain
2018-10-30 11:19:19 +08:00
parent 29ad288f52
commit 6319017186
8 changed files with 93 additions and 8 deletions
@@ -246,6 +246,9 @@ was made as a dirty easy hack to allow dynamically change some explosion paramet
- sets the minimum and maximum damage for Plastic Explosives.
- changed damage will be reset each time the player reloads the game.
> void set_explosion_max_targets(x)
- sets the maximum number of additional targets for an explosion, valid range: 1..6 (default is 6)
Some utility/math functions are available: