From 25e2f93327844d6ce77e94b44eb81e2a4ea0d7db Mon Sep 17 00:00:00 2001 From: silversurfer Date: Wed, 22 Aug 2018 17:54:57 +0000 Subject: [PATCH] New modifiers "MISS_MAX_RADIUS_x" for grenades and mortar to set a max radius where they will land. Higher base radius will make those traits a bit more useful... * Requires exe 8598 or greater git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2438 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Item_Settings.ini | 8 ++++++++ gamedir/Data/Item_Settings.ini | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/gamedir/Data-1.13/Item_Settings.ini b/gamedir/Data-1.13/Item_Settings.ini index 6f57f6c72..9e058ca72 100644 --- a/gamedir/Data-1.13/Item_Settings.ini +++ b/gamedir/Data-1.13/Item_Settings.ini @@ -345,6 +345,14 @@ DAMAGE_HEALTH_MOVE_EXPLOSIVE_MODIFIER = 0.1 DAMAGE_BREATH_MOVE_EXPLOSIVE_MODIFIER = 0.1 ;****************************************************************************************************************************** +;****************************************************************************************************************************** +; The following modifiers define a max miss radius for ballistic explosive handling. Explosives will land within this radius +; around the target tile. The better a merc is with grenades or mortar (check the traits) the higher will be his Chance to Hit +; and the smaller will be the final radius. +; Valid values are from 0 to 30. +MISS_MAX_RADIUS_GRENADE = 5; +MISS_MAX_RADIUS_MORTAR = 10; + ;****************************************************************************************************************************** [Misc Settings] diff --git a/gamedir/Data/Item_Settings.ini b/gamedir/Data/Item_Settings.ini index d68ed772d..13a14f619 100644 --- a/gamedir/Data/Item_Settings.ini +++ b/gamedir/Data/Item_Settings.ini @@ -345,6 +345,14 @@ DAMAGE_HEALTH_MOVE_EXPLOSIVE_MODIFIER = 0.1 DAMAGE_BREATH_MOVE_EXPLOSIVE_MODIFIER = 0.1 ;****************************************************************************************************************************** +;****************************************************************************************************************************** +; The following modifiers define a max miss radius for ballistic explosive handling. Explosives will land within this radius +; around the target tile. The better a merc is with grenades or mortar (check the traits) the higher will be his Chance to Hit +; and the smaller will be the final radius. +; Valid values are from 0 to 30. +MISS_MAX_RADIUS_GRENADE = 5; +MISS_MAX_RADIUS_MORTAR = 5; + ;****************************************************************************************************************************** [Misc Settings]