From 807405c7be26ac11601ffc3868e6deb48070cc43 Mon Sep 17 00:00:00 2001 From: spinerak Date: Tue, 28 May 2024 20:06:46 +0200 Subject: [PATCH] Adjusted difficulty --- worlds/yachtdice/Rules.py | 4 ++++ worlds/yachtdice/__init__.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/worlds/yachtdice/Rules.py b/worlds/yachtdice/Rules.py index 377ec7be70..2039e0e966 100644 --- a/worlds/yachtdice/Rules.py +++ b/worlds/yachtdice/Rules.py @@ -163,6 +163,10 @@ def diceSimulationStrings(categories, nbDice, nbRolls, multiplier, diff, scoremu percReturn = [0, 0.4, 0.4, 0.45, 0.45, 0.45][diff] diffDivide = [0, 9, 5, 3, 2, 1][diff] + if scoremulttype == 2: + percReturn = [0, 0.4, 0.4, 0.45, 0.45, 0.45][diff] + diffDivide = [0, 9, 8, 5, 4, 3][diff] + #calculate total distribution total_dist = {0: 1} for j in range(len(categories)): diff --git a/worlds/yachtdice/__init__.py b/worlds/yachtdice/__init__.py index aeca814332..77b20330b4 100644 --- a/worlds/yachtdice/__init__.py +++ b/worlds/yachtdice/__init__.py @@ -38,7 +38,7 @@ class YachtDiceWorld(World): item_name_groups = ITEM_GROUPS - ap_world_version = "1.1" + ap_world_version = "1.1.1" def _get_yachtdice_data(self): return { @@ -153,7 +153,7 @@ class YachtDiceWorld(World): if self.options.game_mode.value == 1: self.max_score = scoreInLogic - print(f"Max score: {self.max_score}, difficulty {game_difficulty}") + #print(f"Max score: {self.max_score}, difficulty {game_difficulty}") if self.options.game_mode.value == 2: self.max_score = 1000