diff --git a/game_config.py b/game_config.py index 92de450..25b40b2 100644 --- a/game_config.py +++ b/game_config.py @@ -10,9 +10,9 @@ MAX_STUNNED_ROUNDS = 10 # Max amount of rounds a player can be stunned ## CHANCE_HEAL_PARTLY = 25 # Percentage chance a player is healed with 5% of max health when using a defensive spell CHANCE_HEAL_FULLY = 5 # Percentage chance a player is fully healed when using a defensive spell -MAX_LEVENSHTEIN_DISTANCE = 0 # Max Levenshtein distance (max amount of typos a user can make) before considering a spell fails. Setting this to 0 disables it (and in that case also doesn't require the levenshtein package) +MAX_LEVENSHTEIN_DISTANCE = 3 # Max Levenshtein distance (max amount of typos a user can make) before considering a spell fails. Setting this to 0 disables it (and in that case also doesn't require the levenshtein package) ## ## Misc ## -DEBUG_MODE = False # Enable or disable debug mode. Sets all spell chances to 100% when enabled \ No newline at end of file +DEBUG_MODE = False # Enable or disable debug mode. Sets all spell chances to 100% when enabled