771720d3 by Barry

Moved the data access layer to it's own file. Added a way to restart the bot fro…

…m chat. Updates to pankration.
1 parent 775d749e
This diff is collapsed. Click to expand it.
No preview for this file type
This diff is collapsed. Click to expand it.
......@@ -119,7 +119,7 @@ class Pankration:
return monster_list
def hunt_monster(self, zone):
if random.randint(1, 100) > FIND_PERCENTAGE:
if random.randint(1, 100) < FIND_PERCENTAGE:
return HuntResponse(HuntResponse.SUCCESS, "You captured the monster!",
random.choice(self.get_monsters(zone)))
else:
......