Added a second scroll object closes #60

This commit is contained in:
eichhornchen
2021-01-08 16:14:40 +01:00
parent 5736c2300b
commit bde33e9232
4 changed files with 45 additions and 3 deletions

View File

@ -31,6 +31,7 @@ class Monster(FightingEntity):
By default, a monster will move randomly where it is possible
If the player is closeby, the monster runs to the player.
"""
super().act(m)
target = None
for entity in m.entities:
if self.distance_squared(entity) <= 25 and \