From e75c8c2daa739a80aa1d84c25dab452732cecbfb Mon Sep 17 00:00:00 2001 From: Thomas McGrew Date: Sat, 25 Jun 2016 01:57:59 -0400 Subject: [PATCH] Some refinement to growth curves Minor changes to growth curves - buffed hp/agi, nerfed str/mp Also removed the IPS generation question from prompts (few will want this) Specifying --ips on the command line will still generate this file --- dwrandomizer.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/dwrandomizer.py b/dwrandomizer.py index 9cf89c1..9b20f29 100755 --- a/dwrandomizer.py +++ b/dwrandomizer.py @@ -9,7 +9,7 @@ from worldmap import WorldMap,MapGrid import ips -VERSION = "1.1" +VERSION = "1.1.2" #sha1sums of various roms prg0sums = ['6a50ce57097332393e0e8751924fd56456ef083c', #Dragon Warrior (U) (PRG0) [!].nes '66330df6fe3e3c85adb8183721e5f88c149e52eb', #Dragon Warrior (U) (PRG0) [b1].nes @@ -360,10 +360,10 @@ def randomize_growth(self, ultra=False): if ultra: # set these to make DL normally beatable at lvl 15 - player_str = inverted_power_curve( 4, 155, 1.275) - player_agi = inverted_power_curve( 4, 145, 1.225) - player_hp = inverted_power_curve(10, 230, 0.93 ) - player_mp = inverted_power_curve( 0, 220, 0.965) + player_str = inverted_power_curve( 4, 155, 1.18) + player_agi = inverted_power_curve( 4, 145, 1.32) + player_hp = inverted_power_curve(10, 230, 0.98) + player_mp = inverted_power_curve( 0, 220, 0.95) else: for i in range(len(player_str)): player_str[i] = round(player_str[i] * random.uniform(0.8, 1.2)) @@ -846,11 +846,6 @@ def prompt_for_options(args): elif (patterns.lower().startswith("n")): args.no_patterns = False - ips = input("\nGenerate an IPS patch file along with the ROM? y/N): ") - if (ips.lower().startswith("y")): - args.ips= True - - def randomize(args):