From 0d6636442868dcbf603aec16259bb9280b5b6fec Mon Sep 17 00:00:00 2001 From: silversurfer Date: Sat, 13 Feb 2016 15:17:13 +0000 Subject: [PATCH] New parameter in DifficultySettings.xml: LootStatusModifier defines how much his dropped equipment can get damaged when an opponent dies. This externalizes the hardcoded values that depended on difficulty level. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2294 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/TableData/DifficultySettings.xml | 6 ++++++ gamedir/Data/TableData/DifficultySettings.xml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/gamedir/Data-1.13/TableData/DifficultySettings.xml b/gamedir/Data-1.13/TableData/DifficultySettings.xml index f52faea97..05ece48e0 100644 --- a/gamedir/Data-1.13/TableData/DifficultySettings.xml +++ b/gamedir/Data-1.13/TableData/DifficultySettings.xml @@ -34,6 +34,7 @@ JA2 default is FALSE. To ensure she doesn't run out of troops, make sure you either increase the reinforcement pool or enable unlimited reinforcements. MaxMercDeaths : How many mercs can die at each difficulty level? min = 0 max = 10 + LootStatusModifier : When opponents drop their equipment on death it gets damaged by this random amount. Usually the higher the difficulty level the higher the possible damage. : 0 - 100 {Creatures Settings} @@ -135,6 +136,7 @@ 0 0 0 + 0 0 0 @@ -204,6 +206,7 @@ 16 0 2 + 0 510 6 @@ -273,6 +276,7 @@ 12 0 4 + 20 450 7 @@ -342,6 +346,7 @@ 8 0 6 + 40 390 9 @@ -411,6 +416,7 @@ 2 1 8 + 60 150 15 diff --git a/gamedir/Data/TableData/DifficultySettings.xml b/gamedir/Data/TableData/DifficultySettings.xml index f52faea97..05ece48e0 100644 --- a/gamedir/Data/TableData/DifficultySettings.xml +++ b/gamedir/Data/TableData/DifficultySettings.xml @@ -34,6 +34,7 @@ JA2 default is FALSE. To ensure she doesn't run out of troops, make sure you either increase the reinforcement pool or enable unlimited reinforcements. MaxMercDeaths : How many mercs can die at each difficulty level? min = 0 max = 10 + LootStatusModifier : When opponents drop their equipment on death it gets damaged by this random amount. Usually the higher the difficulty level the higher the possible damage. : 0 - 100 {Creatures Settings} @@ -135,6 +136,7 @@ 0 0 0 + 0 0 0 @@ -204,6 +206,7 @@ 16 0 2 + 0 510 6 @@ -273,6 +276,7 @@ 12 0 4 + 20 450 7 @@ -342,6 +346,7 @@ 8 0 6 + 40 390 9 @@ -411,6 +416,7 @@ 2 1 8 + 60 150 15