Added an additional mode to the function 'metarule2_explosions', sets a constant radius of the explosion grenades and rockets. (#146)

This commit is contained in:
Mr.Stalin
2018-05-30 21:02:35 +08:00
committed by NovaRain
parent b24a860d40
commit 0e715236bf
3 changed files with 44 additions and 17 deletions
+1
View File
@@ -139,6 +139,7 @@
#define set_attack_explosion_radius(x) metarule2_explosions(3, x, 0)
#define set_attack_is_explosion(x) metarule2_explosions(4, x, 0)
#define set_attack_is_explosion_fire set_attack_is_explosion(DMG_fire)
#define set_explosion_radius(grenade, rocket) metarule2_explosions(5, grenade, rocket)
#define GAME_MSG_COMBAT (0)