# !Hunting Party Bonus

**URL:** <https://discourse.codecombat.com/t/hunting-party-bonus/36485>\
**Category:** Level Help\
**Created:** [December 8, 2023, 4:38pm UTC](https://discourse.codecombat.com/t/hunting-party-bonus/36485 "2023-12-08T16:38:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andres\_Martin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/andres_martin/32/35007_2.png) [@Andres\_Martin](https://discourse.codecombat.com/u/Andres_Martin)\
**Post date:** [December 8, 2023, 4:38pm UTC](https://discourse.codecombat.com/t/hunting-party-bonus/36485/1 "2023-12-08T16:38:20Z")

</div>

I can’t seem to land the hunting party bonus, here is my code.

> <https://github.com/DurionHelenkeller/CodeCombat/blob/main/Hunting%20Party>

---

<div class="post-metadata">

**Author:** ![JustALuke](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/justaluke/32/43608_2.png) [@JustALuke](https://discourse.codecombat.com/u/JustALuke)\
**Post date:** [December 8, 2023, 4:56pm UTC](https://discourse.codecombat.com/t/hunting-party-bonus/36485/2 "2023-12-08T16:56:10Z")

</div>

I’d recommend putting the “move” portion in an else statement after the else-if enemy one so if there is an enemy they won’t move forward. Currently one of the archers dies because it keeps moving forward even though there are enemies in range.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/a/a9445509d1a758c41b5ddcddc8c8e20a5dedb67f.png) [@system](https://discourse.codecombat.com/u/system)\
**Post date:** [December 13, 2023, 9:22pm UTC](https://discourse.codecombat.com/t/hunting-party-bonus/36485/3 "2023-12-13T21:22:14Z")

</div>

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