Commit d7da1c53 authored by Toast Engineer's avatar Toast Engineer

Fix two game breaking typoes.

parent 43fc709a
......@@ -434,10 +434,10 @@ class RangedWeapon(Weapon):
target.physical_stamina -= damage
if target.physical_stamina < 0: target.physical_stamina = 0
class Pistol(Weapon):
class Pistol(RangedWeapon):
base_power = 1.2
class Carbine(Weapon):
class Carbine(RangedWeapon):
base_power = 2.5
sale_price = 500
......
......@@ -160,7 +160,7 @@ class GameState:
self.mainwin.middle_textbox_active = self.battle is not None
self.mainwin.draw()
if random.random() > 0.95 and self.current_level:
if random.random() > 0.999 and self.current_level:
self.start_battle()
except Exception:
......@@ -173,7 +173,7 @@ class GameState:
if not enemies:
enemies = []
for t in range(random.randint(1, 4)):
enemy = character.MurderousJerk(f"Murderous Jerk {t}", random.randint(2, 5), random.randint(2, 5), random.randint(2, 5), random.randint(2, 5), random.randint(2, 5), random.randint(2, 5))
enemy = character.MurderousJerk(f"Murderous Jerk {t}", random.randint(5, 9), random.randint(5, 9), random.randint(5, 9), random.randint(5, 9), random.randint(5, 9), random.randint(5, 9))
enemies.append(enemy)
for i in range(1, 3):
enemy.inventory.append(random.choice(character.shop_items)())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment