out_str+="{} {} {} against {} for {}.\n".format(action.attacker.get_monster_name(),action.message,action.spell,action.target.get_monster_name(),int(action.damage))
else:
out_str+="{} {} {} for {}.\n".format(action.attacker.get_monster_name(),action.message,action.target.get_monster_name(),int(action.damage))
print("{} {} {} while casting {}.".format(action.attacker.get_monster_name(),action.message,action.target.get_monster_name(),action.spell))
ifisinstance(action,AttackAction):
print("{} {} {} for {}.".format(action.attacker.get_monster_name(),action.message,action.target.get_monster_name(),action.damage))
print("{} {} {} against {} for {}.".format(action.attacker.get_monster_name(),action.message,action.spell,action.target.get_monster_name(),action.damage))