Lurkers: first playthrough: Stuck

Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!

Check if there is an enemy and also check if it’s type is shaman:

if enemy:
    if enemy.type == "shaman":

Then inside the if enemy (but outside the if enemy.type == “shaman”), keep your incrementation there.

if enemy:
    if enemy.type == "shaman":
        #the rest of your code
    enemyIndex+=1