What is the effect's name of Omarn's skill brew('damage')?

friends=hero.findFriends()
for friend in friends:
if hero.isReady(‘brew’) and not friend.hasEffect(‘damage’):
hero.brew(‘damage’,friend)

I want use hasEffect but it always returns False. Surely the effect’s name is not ‘damage’.

1 Like

Welcome the CoCo DIscourse forums! @JFR :partying_face:
This is a place to get help within levels, dicuss ideas, give suggestions for the game or just chat with other awesome coders!
Check out the FAQ and the rules if you haven’t already and have fun! :grinning_face_with_smiling_eyes:

1 Like

First off, welcome to the community @JFR . secondly, i think you can find what the name is within the tabs on the left. If you click on them you might be able to find the answer.

Worst comes to worst, you may have to go searching for a level where you got the effect you wanted.