Adjusted difficulty

This commit is contained in:
spinerak
2024-05-28 20:06:46 +02:00
parent 796b17b3cb
commit 807405c7be
2 changed files with 6 additions and 2 deletions

View File

@@ -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)):

View File

@@ -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