Closed K-Mistele closed 6 years ago
Currently Observed Phenomenon: (most happen when lots of mobs are in close proximity to player)
Traceback (most recent call last):
File "adventure.py", line 270, in <module> player_move(player_input)
File "adventure.py", line 205, in player_move
print("You attacked a {}!".format(detect_attack_on_mob("y", 1)[1]))
IndexError: list index out of range
@Michael-N I'm kind of at a loss where to go. Should we roll the branch back a commit?
Traceback (most recent call last):
File "adventure.py", line 270, in <module> player_move(player_input)
File "adventure.py", line 205, in player_move
print("You attacked a {}!".format(detect_attack_on_mob("y", 1)[1]))
IndexError: list index out of range
TL;DR; the errors are in adventure.py .... not so much the mob classes
@K-Mistele
Player attacking mobs now works. I'm wondering if half of these problems would be partially fixed by re-drawing the board after player moves and mob moves..... I'll keep working on that.
@Michael-N @amistele Help needed squishing bugs in the
mob-generation
branch. Please help! Switch to the branch, try moving into and attacking mobs. Strange bugs.