From 362b1ee070491c27f110a3650fd1e5abded823ff Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 12 Jan 2022 19:54:28 +0200 Subject: [PATCH 46/46] Civ1: Increase unit hit points and firepowers AI handles units with just 1 hitpoint really badly. As a workaround we increase all hitpoints in civ1 ruleset, as well as firepowers, so units still get killed with single hit. Reported by nef See osdn #43042 Signed-off-by: Marko Lindqvist --- data/civ1/game.ruleset | 10 ++-- data/civ1/units.ruleset | 116 ++++++++++++++++++++-------------------- 2 files changed, 63 insertions(+), 63 deletions(-) diff --git a/data/civ1/game.ruleset b/data/civ1/game.ruleset index 47be157bba..9b1b31968f 100644 --- a/data/civ1/game.ruleset +++ b/data/civ1/game.ruleset @@ -42,7 +42,7 @@ If you know only the default rules, spend some time checking the \ differences.\ \n\n\ * There are fewer technologies, buildings and units.\n\ - * Units have no hitpoints. If they win a battle, they remain in full health.\n\ + * Hitpoints are meaningless. If unit wins a battle, it remains in full health.\n\ ") ; Detailed description @@ -243,24 +243,24 @@ damage_reduces_bombard_rate = TRUE ; positive DefendBonus effect applied to the attack, attacker`s ; firepower gets reduced to this value. ; If firepower is already lower than this, it won`t be affected. -low_firepower_badwallattacker = 1 +low_firepower_badwallattacker = 10 ; When the defender has BadCityDefender flag, and it`s ; defending on a city tile, attacker`s firepower is doubled ; and defenders firepower is reduced to this value. ; If firepower is already lower than this, it won`t be affected. -low_firepower_pearl_harbour = 1 +low_firepower_pearl_harbour = 10 ; When the opponent has LowFirepower combat bonus against ; a unit, it`s firepower is reduced to this value. ; If firepower is already lower than this, it won`t be affected. -low_firepower_combat_bonus = 1 +low_firepower_combat_bonus = 10 ; When a unit capable of attacking NonNative tiles does such an ; attack against NonNatBombardTgt unit, firepower of both sides ; is reduced to this value. ; If firepower is already lower than this, it won`t be affected. -low_firepower_nonnat_bombard = 1 +low_firepower_nonnat_bombard = 10 ; Percentage of population lost by a city after nuclear attak. If set to ; 100 city is destroyed along with all the units. If set to 0 city does not diff --git a/data/civ1/units.ruleset b/data/civ1/units.ruleset index f236f8d0d1..586c5e51d7 100644 --- a/data/civ1/units.ruleset +++ b/data/civ1/units.ruleset @@ -363,8 +363,8 @@ build_cost = 40 pop_cost = 1 attack = 0 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -400,8 +400,8 @@ build_cost = 10 pop_cost = 0 attack = 1 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -432,8 +432,8 @@ build_cost = 20 pop_cost = 0 attack = 1 defense = 2 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -463,8 +463,8 @@ build_cost = 20 pop_cost = 0 attack = 3 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -495,8 +495,8 @@ build_cost = 30 pop_cost = 0 attack = 2 defense = 3 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -529,8 +529,8 @@ build_cost = 30 pop_cost = 0 attack = 3 defense = 5 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -561,8 +561,8 @@ build_cost = 50 pop_cost = 0 attack = 6 defense = 6 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 3 vision_radius_sq = 2 transport_cap = 0 @@ -594,8 +594,8 @@ build_cost = 20 pop_cost = 0 attack = 2 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 2 vision_radius_sq = 2 transport_cap = 0 @@ -627,8 +627,8 @@ build_cost = 40 pop_cost = 0 attack = 4 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 2 vision_radius_sq = 2 transport_cap = 0 @@ -659,8 +659,8 @@ build_cost = 40 pop_cost = 0 attack = 4 defense = 2 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 2 vision_radius_sq = 2 transport_cap = 0 @@ -691,8 +691,8 @@ build_cost = 80 pop_cost = 0 attack = 10 defense = 5 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 3 vision_radius_sq = 2 transport_cap = 0 @@ -724,8 +724,8 @@ build_cost = 40 pop_cost = 0 attack = 6 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -757,8 +757,8 @@ build_cost = 40 pop_cost = 0 attack = 8 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -791,8 +791,8 @@ build_cost = 60 pop_cost = 0 attack = 12 defense = 2 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 2 vision_radius_sq = 2 transport_cap = 0 @@ -824,8 +824,8 @@ build_cost = 60 pop_cost = 0 attack = 4 defense = 2 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 10 vision_radius_sq = 8 transport_cap = 0 @@ -857,8 +857,8 @@ build_cost = 120 pop_cost = 0 attack = 12 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 8 vision_radius_sq = 8 transport_cap = 0 @@ -891,8 +891,8 @@ build_cost = 40 pop_cost = 0 attack = 1 defense = 0 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 3 vision_radius_sq = 2 transport_cap = 2 @@ -925,8 +925,8 @@ build_cost = 40 pop_cost = 0 attack = 1 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 3 vision_radius_sq = 2 transport_cap = 3 @@ -958,8 +958,8 @@ build_cost = 40 pop_cost = 0 attack = 2 defense = 2 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 3 vision_radius_sq = 2 transport_cap = 4 @@ -992,8 +992,8 @@ build_cost = 60 pop_cost = 0 attack = 4 defense = 4 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 4 vision_radius_sq = 2 transport_cap = 0 @@ -1025,8 +1025,8 @@ build_cost = 80 pop_cost = 0 attack = 6 defense = 6 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 6 vision_radius_sq = 8 transport_cap = 0 @@ -1056,8 +1056,8 @@ build_cost = 160 pop_cost = 0 attack = 18 defense = 12 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 4 vision_radius_sq = 8 transport_cap = 0 @@ -1088,8 +1088,8 @@ build_cost = 50 pop_cost = 0 attack = 8 defense = 2 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 3 vision_radius_sq = 8 transport_cap = 0 @@ -1122,8 +1122,8 @@ build_cost = 160 pop_cost = 0 attack = 1 defense = 12 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 5 vision_radius_sq = 8 transport_cap = 8 @@ -1158,8 +1158,8 @@ build_cost = 50 pop_cost = 0 attack = 0 defense = 3 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 4 vision_radius_sq = 8 transport_cap = 8 @@ -1191,8 +1191,8 @@ build_cost = 160 pop_cost = 0 attack = 99 defense = 0 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 16 vision_radius_sq = 2 transport_cap = 0 @@ -1240,8 +1240,8 @@ build_cost = 30 pop_cost = 0 attack = 0 defense = 0 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 2 vision_radius_sq = 2 transport_cap = 0 @@ -1335,8 +1335,8 @@ build_cost = 50 pop_cost = 0 attack = 0 defense = 1 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 1 vision_radius_sq = 2 transport_cap = 0 @@ -1384,8 +1384,8 @@ build_cost = 40 pop_cost = 0 attack = 0 defense = 0 -hitpoints = 1 -firepower = 1 +hitpoints = 10 +firepower = 10 move_rate = 2 vision_radius_sq = 2 transport_cap = 0 -- 2.34.1