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

Sacred Grove help [Solved]

When I try my hero moves to the other enemies and he leaves his place.
Don’t let ogres step into the grove.

def onSpawn():
while True:
scout = pet.findNearestByType(“scout”)
if scout and pet.isReady(“charm”):
pet.charm(scout)

Assign the event handler to the pet’s “spawn” event.
pet.on(“spawn”, onSpawn)
Fight!
while True:
enemy = hero.findNearestEnemy()
if enemy:
hero.attack(enemy)

Can you post your code as it says here? And can you send me the link for this?
Lydia

are you a sub scriber cause its a subscriber level

If it is below mountain and it isn’t a new level, then I have that level.
Lydia

@Eric_Tang, could you please post your code correctly in the future, like @Lydia_Song said. Since it is such a short code, I can read it, and the issue with this level is probably your items. If you are using glasses like the twilight glasses, your hero can see to the other side of the map and will attack enemies there. What I suggest doing is equipping glasses that are actually worse and don’t give you as much range. Hope this helps!
Grzmot

does this answer your problem @Eric_Tang? if so please make sure to hit the ticbox that says solution.

Haven’t tried yet but I think It will work

1 Like

Please do not mark solutions unless you have solved the level.
Lydia

1 Like

Sorry about that I really messed up on this post.

Did you pass the level? I see that you are already on Cloudrip Commander, that is more than a tier away than forest.
Lydia

Yes I was coming back to this level

Ok.
Lydia
20 characters

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.