Changelog!:
Valkyrie heavily buffed. They can now cleave, bash, and slam. Don’t forget, they can attack too!
Code for Valkyrie cleave: I tried it and it worked.
friends = hero.findFriends
for friend in friends:
if friend.type == ‘valkyrie’:
enemies = hero.findEnemies()
enemy = friend.findNearest(enemies)
if enemy and friend.isReady(“cleave”):
hero.command(friend, “cleave”, enemy)
else:
hero.command(friend, “attack”, enemy
Enjoy! That’s it!
Play over here.