From 57dc20d28c4f3f3e6b71912552b2dffb77d9774a Mon Sep 17 00:00:00 2001 From: Wanne Date: Tue, 3 Dec 2013 10:14:35 +0000 Subject: [PATCH] Extended "Merc Random Stats Feature" (by Jenilee) - Added 4th option for MERCS_RANDOM_STATS (MERCS_RANDOM_STATS = 4) o full randomization of mercs, including traits, gear kits and all statistics see: http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/328769.html#Post328769 git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1887 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 3 ++- gamedir/Data/Ja2_Options.INI | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index f557be642..e602bf029 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -366,7 +366,8 @@ SHOW_SKILLS_IN_HIRING_PAGE = FALSE ; 1 = full random stats for all profiles based on their "TableData\MercProfiles.xml" values ; 2 = partial random stats for any mercs that have random stats defined (Enabled = 1) in "TableData\RandomStats.xml" ; 3 = build random stats from (BaseAttribute) in "TableData\RandomStats.xml", range determined by level -; Hardcoded formula for 3 is BaseAttribute + 4 * EXP + Random(9) + Random(8) +; hardcoded formula for 3 is BaseAttribute + 4 * EXP + Random(9) + Random(8) +; 4 = full randomization of mercs, including traits, gear kits and all statistics ; ; MERCS_RANDOM_BELL_DISTRIBUTION random values use bell-curve distribution if 'TRUE'; 'FALSE', use uniform distribution ; diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index bd2dd1d9f..4da95d10d 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -364,7 +364,8 @@ SHOW_SKILLS_IN_HIRING_PAGE = FALSE ; 1 = full random stats for all profiles based on their "TableData\MercProfiles.xml" values ; 2 = partial random stats for any mercs that have random stats defined (Enabled = 1) in "TableData\RandomStats.xml" ; 3 = build random stats from (BaseAttribute) in "TableData\RandomStats.xml", range determined by level -; Hardcoded formula for 3 is BaseAttribute + 4 * EXP + Random(9) + Random(8) +; hardcoded formula for 3 is BaseAttribute + 4 * EXP + Random(9) + Random(8) +; 4 = full randomization of mercs, including traits, gear kits and all statistics ; ; MERCS_RANDOM_BELL_DISTRIBUTION random values use bell-curve distribution if 'TRUE'; 'FALSE', use uniform distribution ; @@ -383,6 +384,7 @@ SHOW_SKILLS_IN_HIRING_PAGE = FALSE ; Exp = 8 will random between 7-9 due to 9 maximum limit ; Exp = 2 will random between 1-3 due to 1 minimum limit ; Exp = 1/9 will not random +; ;------------------------------------------------------------------------------------------------------------------------------ MERCS_RANDOM_STATS = 0