# Seeking Help - Medical Attention (Javascript)

**URL:** https://discourse.codecombat.com/t/seeking-help-medical-attention-javascript/3798
**Category:** Uncategorized
**Created:** [May 7, 2015, 1:04am UTC](https://discourse.codecombat.com/t/seeking-help-medical-attention-javascript/3798 "2015-05-07T01:04:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![folclor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/folclor/32/2547_2.png) [@folclor](https://discourse.codecombat.com/u/folclor)
#### Post date: [May 7, 2015, 1:04am UTC](https://discourse.codecombat.com/t/seeking-help-medical-attention-javascript/3798/1 "2015-05-07T01:04:34Z")

</div>

Hello!

I’m a bit stuck on Medical Attention. I’ve read other similar topics and have followed advice but, regardless, I seem to always fail. I’ve tried this code in several different orders (with it defaulting to attacking enemies first and only going in for healing if there are no enemies, the current positioning, not running back into the middle, going for healing all the time if there are no enemies, messing with how low the health goes before going to get healing) and it has not succeeded.

I have also tried reloading several times to see if a different seed does the trick but it occurs to me that it might not effect this mission.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![ChronistGilver](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/chronistgilver/32/3778_2.png) [@ChronistGilver](https://discourse.codecombat.com/u/ChronistGilver)
#### Post date: [May 7, 2015, 5:32am UTC](https://discourse.codecombat.com/t/seeking-help-medical-attention-javascript/3798/2 "2015-05-07T05:32:05Z")

</div>

Even though you have given a lengthy explanation on what you have changed, you have not said what, exactly is going wrong. Can you please clarify?

---

<div class="post-metadata">

### Author: ![folclor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/folclor/32/2547_2.png) [@folclor](https://discourse.codecombat.com/u/folclor)
#### Post date: [May 7, 2015, 6:04pm UTC](https://discourse.codecombat.com/t/seeking-help-medical-attention-javascript/3798/3 "2015-05-07T18:04:19Z")

</div>

Yeah, sorry. Regardless of what I try someone always dies. Usually the soldiers get overwhelmed near the end, rush the healing station, and get stuck there. Then, when my hero goes for healing he can’t get it or gets stuck there as well. Inevitably one or all of them die.

---

<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: [May 7, 2015, 7:17pm UTC](https://discourse.codecombat.com/t/seeking-help-medical-attention-javascript/3798/4 "2015-05-07T19:17:48Z")

</div>

I can’t really see how they got stuck. Can you possibly provide a screenshot?

* * *

Also have you tried different seeds? This level is really seed-dependant. Try to submit several times.

---

<div class="post-metadata">

### Author: ![ChronistGilver](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/chronistgilver/32/3778_2.png) [@ChronistGilver](https://discourse.codecombat.com/u/ChronistGilver)
#### Post date: [May 7, 2015, 7:55pm UTC](https://discourse.codecombat.com/t/seeking-help-medical-attention-javascript/3798/5 "2015-05-07T19:55:17Z")

</div>

Well, reloading does not give a different seed. Submitting does, as J\_F\_B\_M says.

---

<div class="post-metadata">

### Author: ![folclor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/folclor/32/2547_2.png) [@folclor](https://discourse.codecombat.com/u/folclor)
#### Post date: [May 7, 2015, 8:08pm UTC](https://discourse.codecombat.com/t/seeking-help-medical-attention-javascript/3798/6 "2015-05-07T20:08:23Z")

</div>

Ah ^^;; well, I feel a bit stupid now. Thanks for pointing out that submitting is what loads a new seed.

It worked after you told me that.

Sorry for wasting time. ^^;; Hope everyone has a good day.
