mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New modifiers for enemy item quality in Ja2_Options.ini:
ADMIN_EQUIPMENT_QUALITY_MODIFIER = 0 REGULAR_EQUIPMENT_QUALITY_MODIFIER = 0 ELITE_EQUIPMENT_QUALITY_MODIFIER = 0 These modifiers work just like the existing ones for militia. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6535 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+6
-1
@@ -1040,7 +1040,12 @@ void LoadGameExternalOptions()
|
||||
gGameExternalOptions.sEnemyRegularCtHBonusPercent = iniReader.ReadInteger("Tactical Difficulty Settings", "REGULAR_CTH_BONUS_PERCENT", 0, -100, 500);
|
||||
gGameExternalOptions.sEnemyEliteCtHBonusPercent = iniReader.ReadInteger("Tactical Difficulty Settings", "ELITE_CTH_BONUS_PERCENT", 10, -100, 500);
|
||||
|
||||
// Damage the enemz suffer is reduced by this percentage - applies during tactical combat only
|
||||
// Enemy equipment quality modifiers
|
||||
gGameExternalOptions.sEnemyAdminEquipmentQualityModifier = iniReader.ReadInteger("Tactical Difficulty Settings", "ADMIN_EQUIPMENT_QUALITY_MODIFIER", 0, -5, 10);
|
||||
gGameExternalOptions.sEnemyRegularEquipmentQualityModifier = iniReader.ReadInteger("Tactical Difficulty Settings", "REGULAR_EQUIPMENT_QUALITY_MODIFIER", 0, -5, 10);
|
||||
gGameExternalOptions.sEnemyEliteEquipmentQualityModifier = iniReader.ReadInteger("Tactical Difficulty Settings", "ELITE_EQUIPMENT_QUALITY_MODIFIER", 0, -5, 10);
|
||||
|
||||
// Damage the enemy suffer is reduced by this percentage - applies during tactical combat only
|
||||
gGameExternalOptions.sEnemyAdminDamageResistance = iniReader.ReadInteger("Tactical Difficulty Settings", "ADMIN_DAMAGE_RESISTANCE", 0, -50, 95);
|
||||
gGameExternalOptions.sEnemyRegularDamageResistance = iniReader.ReadInteger("Tactical Difficulty Settings", "REGULAR_DAMAGE_RESISTANCE", 0, -50, 95);
|
||||
gGameExternalOptions.sEnemyEliteDamageResistance = iniReader.ReadInteger("Tactical Difficulty Settings", "ELITE_DAMAGE_RESISTANCE", 0, -50, 95);
|
||||
|
||||
Reference in New Issue
Block a user