# \[SOLVED\] Endangered Burl!

**URL:** <https://discourse.codecombat.com/t/solved-endangered-burl/2754>\
**Category:** Level Help\
**Created:** [February 16, 2015, 10:11pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754 "2015-02-16T22:11:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruch\_The\_Awesome](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ruch\_The\_Awesome](https://discourse.codecombat.com/u/Ruch_The_Awesome)\
**Post date:** [February 16, 2015, 10:11pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/1 "2015-02-16T22:11:38Z")

</div>

Can’t get past this level. been trying for 2 hours!!! [http://www.google.com/imgres?imgurl=http://sunsetbeachncandbeyond.com/image\_store/uploads/agents/realtycj/files/Thanks.jpg&imgrefurl=http://driverlayer.com/img/please/147/any&h=431&w=431&tbnid=iFKYqc35iPNU8M:&zoom=1&docid=IuJ0iu0dNciPvM&ei=ymriVLL2Os\_yoATZmIDgDw&tbm=isch&ved=0CC4QMygHMAc](http://www.google.com/imgres?imgurl=http://sunsetbeachncandbeyond.com/image_store/uploads/agents/realtycj/files/Thanks.jpg&imgrefurl=http://driverlayer.com/img/please/147/any&h=431&w=431&tbnid=iFKYqc35iPNU8M:&zoom=1&docid=IuJ0iu0dNciPvM&ei=ymriVLL2Os_yoATZmIDgDw&tbm=isch&ved=0CC4QMygHMAc)!!! Please help.

---

<div class="post-metadata">

**Author:** ![J\_F\_B\_M](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/j_f_b_m/32/2756_2.png) [@J\_F\_B\_M](https://discourse.codecombat.com/u/J_F_B_M)\
**Post date:** [February 16, 2015, 10:19pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/2 "2015-02-16T22:19:23Z")

</div>

I somehow have the feeling that one or two hits on that “Enter”-key might have helped here. This preview on the right is there for a reason.

[http://www.google.com/imgres?imgurl=http://sunsetbeachncandbeyond.com/image\_store/uploads/agents/realtycj/files/Thanks.jpg&imgrefurl=http://driverlayer.com/img/please/147/any&h=431&w=431&tbnid=iFKYqc35iPNU8M:&zoom=1&docid=IuJ0iu0dNciPvM&ei=ymriVLL2Os\_yoATZmIDgDw&tbm=isch&ved=0CC4QMygHMAc](http://www.google.com/imgres?imgurl=http://sunsetbeachncandbeyond.com/image_store/uploads/agents/realtycj/files/Thanks.jpg&imgrefurl=http://driverlayer.com/img/please/147/any&h=431&w=431&tbnid=iFKYqc35iPNU8M:&zoom=1&docid=IuJ0iu0dNciPvM&ei=ymriVLL2Os_yoATZmIDgDw&tbm=isch&ved=0CC4QMygHMAc)

On the other hand, after I looked at the picture… It’s irrelevant.

But I have a wonderful [post written just about this](http://discourse.codecombat.com/t/now-you-cant-beat-savern-brawl/2735/15?u=j_f_b_m).

Don’t distract yourself with the upper half of the post, important is the list at the bottom.

Click the following spoiler to get the summary

I have no idea what your problem is, describe it! I can’t read minds.

---

<div class="post-metadata">

**Author:** ![DustNite](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/dustnite/32/2104_2.png) [@DustNite](https://discourse.codecombat.com/u/DustNite)\
**Post date:** [February 24, 2015, 5:06am UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/3 "2015-02-24T05:06:30Z")

</div>

i got a code that might just help u pass the level 🙂

```python
(Solution removed)
    Please don't post solutions. Thanks.

```

i hoped it worked!!!

---

<div class="post-metadata">

**Author:** ![Vlevo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/vlevo/32/2074_2.png) [@Vlevo](https://discourse.codecombat.com/u/Vlevo)\
**Post date:** [February 24, 2015, 6:10am UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/4 "2015-02-24T06:10:43Z")

</div>

The point of the site is not to “pass levels” but to learn to code…  
Just giving someone the code is probably not going to do it.

---

<div class="post-metadata">

**Author:** ![J\_F\_B\_M](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/j_f_b_m/32/2756_2.png) [@J\_F\_B\_M](https://discourse.codecombat.com/u/J_F_B_M)\
**Post date:** [February 24, 2015, 11:16am UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/5 "2015-02-24T11:16:46Z")

</div>

> [@DustNite](#):
>
> i hoped it worked!!!

Public Notice: Please test your code before posting it as a solution.

---

<div class="post-metadata">

**Author:** ![DustNite](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/dustnite/32/2104_2.png) [@DustNite](https://discourse.codecombat.com/u/DustNite)\
**Post date:** [February 24, 2015, 3:57pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/6 "2015-02-24T15:57:15Z")

</div>

i did test it and it worked

---

<div class="post-metadata">

**Author:** ![Dae\_Shaun\_High\_Hawk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/dae_shaun_high_hawk/32/21794_2.png) [@Dae\_Shaun\_High\_Hawk](https://discourse.codecombat.com/u/Dae_Shaun_High_Hawk)\
**Post date:** [December 13, 2019, 11:20pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/7 "2019-12-13T23:20:49Z")

</div>

HERE IS MY CODE FOR PYTHON while True:

Mod edit: solution removed

---

<div class="post-metadata">

**Author:** ![Deadpool198](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/deadpool198/32/16753_2.png) [@Deadpool198](https://discourse.codecombat.com/u/Deadpool198)\
**Post date:** [December 14, 2019, 1:15pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/8 "2019-12-14T13:15:32Z")

</div>

Hi, welcome to the CodeCombat discourse.  
Please could you not post solutions as it ruins the level for other people.  
Thanks  
Danny

---

<div class="post-metadata">

**Author:** ![Dae\_Shaun\_High\_Hawk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/dae_shaun_high_hawk/32/21794_2.png) [@Dae\_Shaun\_High\_Hawk](https://discourse.codecombat.com/u/Dae_Shaun_High_Hawk)\
**Post date:** [December 16, 2019, 11:42pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/9 "2019-12-16T23:42:20Z")

</div>

okay

[en\_US.composer.my\_button\_text]

---

<div class="post-metadata">

**Author:** ![Deadpool198](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/deadpool198/32/16753_2.png) [@Deadpool198](https://discourse.codecombat.com/u/Deadpool198)\
**Post date:** [December 17, 2019, 3:03pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/10 "2019-12-17T15:03:56Z")

</div>

Thanks,  
could you edit the post (by clicking the little pencil to the left of the reply button) and get rid of the bit with the solutions.  
Thanks again  
Danny

---

<div class="post-metadata">

**Author:** ![Zoe\_Witte](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/zoe_witte/32/14192_2.png) [@Zoe\_Witte](https://discourse.codecombat.com/u/Zoe_Witte)\
**Post date:** [September 14, 2020, 4:51pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/11 "2020-09-14T16:51:57Z")

</div>

I am stuck because my character is not running away from the ogre.

```python
while True:
    enemy = hero.findNearestEnemy()
    
    # Remember: don't attack type "burl"!
    if enemy.type == "burl":
        hero.say("I am not attacking that Burl")
    
    # The "type" property tells you what kind of creature it is.
    if enemy.type == "munchkin":
        hero.attack(enemy)
        hero.attack(enemy)
    
    # Use "if" to attack a "thrower".
    if enemy.type == "thrower":
        hero.attack(enemy)
        hero.attack(enemy)
        hero.shield()
        
        # If it's an "ogre", use moveXY to run away to the village gate!
        if enemy.type is "ogre":
            hero.say("Run away it is an ogre")
            hero.moveXY(41, 55)
        

```

---

<div class="post-metadata">

**Author:** ![AnSeDra](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/ansedra/32/13123_2.png) [@AnSeDra](https://discourse.codecombat.com/u/AnSeDra)\
**Post date:** [September 14, 2020, 5:05pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/12 "2020-09-14T17:05:52Z")

</div>

> [@Zoe\_Witte](#):
>
> ```python
> hero.attack(enemy)
> hero.attack(enemy)
> 
> ```

Try to attack only once. And try to not say anything when you see the ogre, just run.

Andrei

---

<div class="post-metadata">

**Author:** ![Zoe\_Witte](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/zoe_witte/32/14192_2.png) [@Zoe\_Witte](https://discourse.codecombat.com/u/Zoe_Witte)\
**Post date:** [September 14, 2020, 5:14pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/13 "2020-09-14T17:14:08Z")

</div>

I fixed it but my character is still just standing there.  
See

 ![Screenshot 2020-09-14 at 1.15.55 PM](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/9/97c32f89a0268bc3f38b5dbbfd3467cf4ad28261.jpeg)

---

<div class="post-metadata">

**Author:** ![AnSeDra](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/ansedra/32/13123_2.png) [@AnSeDra](https://discourse.codecombat.com/u/AnSeDra)\
**Post date:** [September 14, 2020, 5:31pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/14 "2020-09-14T17:31:26Z")

</div>

What is your equipment?

Andrei

---

<div class="post-metadata">

**Author:** ![AnSeDra](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/ansedra/32/13123_2.png) [@AnSeDra](https://discourse.codecombat.com/u/AnSeDra)\
**Post date:** [September 14, 2020, 5:32pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/15 "2020-09-14T17:32:31Z")

</div>

And did you try to submit again? Maybe it was just an unlucky seed.

Andrei

---

<div class="post-metadata">

**Author:** ![Zoe\_Witte](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/zoe_witte/32/14192_2.png) [@Zoe\_Witte](https://discourse.codecombat.com/u/Zoe_Witte)\
**Post date:** [September 14, 2020, 5:36pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/16 "2020-09-14T17:36:42Z")

</div>

I am going to close it out and try again.

---

<div class="post-metadata">

**Author:** ![Zoe\_Witte](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/zoe_witte/32/14192_2.png) [@Zoe\_Witte](https://discourse.codecombat.com/u/Zoe_Witte)\
**Post date:** [September 14, 2020, 5:37pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/17 "2020-09-14T17:37:48Z")

</div>

![Screenshot 2020-09-14 at 1.37.09 PM](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/7/77a809c710d6962187394ce205dadf612a3e33be.jpeg)

That’s my equipment.

---

<div class="post-metadata">

**Author:** ![Zoe\_Witte](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/zoe_witte/32/14192_2.png) [@Zoe\_Witte](https://discourse.codecombat.com/u/Zoe_Witte)\
**Post date:** [September 14, 2020, 5:41pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/19 "2020-09-14T17:41:19Z")

</div>

No he still does not go anywhere.

---

<div class="post-metadata">

**Author:** ![AnSeDra](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/ansedra/32/13123_2.png) [@AnSeDra](https://discourse.codecombat.com/u/AnSeDra)\
**Post date:** [September 14, 2020, 5:45pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/20 "2020-09-14T17:45:56Z")

</div>

Can you send me what do your boots do?

Andrei

---

<div class="post-metadata">

**Author:** ![Lydia\_Song](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/lydia_song/32/31461_2.png) [@Lydia\_Song](https://discourse.codecombat.com/u/Lydia_Song)\
**Post date:** [September 14, 2020, 5:46pm UTC](https://discourse.codecombat.com/t/solved-endangered-burl/2754/21 "2020-09-14T17:46:15Z")

</div>

Can you send me the link?  
Lydia

[Next page](https://discourse.codecombat.com/t/solved-endangered-burl/2754.md?page=2)
