Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Yaks in Sarven Desert

Hi, I’m currently in the Sarven Dessert and the yaks are really annoying is there anyway not to attack the yaks with like enemy.type == "yaks" or something similar.
Thanks

1 Like

You can check for Sand yaks with:

if enemy.type == "sand-yak":
# or more likely in the desert:
if enemy.type != "sand-yak": # (!= means doesn't equal)

Danny

1 Like

Thanks (20 Characters)