# Help: I can't beat Grim Determination

**URL:** <https://discourse.codecombat.com/t/help-i-cant-beat-grim-determination/19848>\
**Category:** Level Help\
**Created:** [December 17, 2019, 11:52pm UTC](https://discourse.codecombat.com/t/help-i-cant-beat-grim-determination/19848 "2019-12-17T23:52:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ChainR](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/chainr/32/11120_2.png) [@ChainR](https://discourse.codecombat.com/u/ChainR)\
**Post date:** [December 18, 2019, 12:39am UTC](https://discourse.codecombat.com/t/help-i-cant-beat-grim-determination/19848/3 "2019-12-18T00:39:56Z")

</div>

Mod edit: solution removed

I managed to beat the level with this code above. I get the sense that the relation between hero.attack(enemy) and hero.command(someone, ‘attack’, enemy) is like the one between hero.move(pos) and hero.moveXY(x,y). Only the one time attack code and one step forward code go well together with while loop. So the griffin riders worked as I intended.

And my paladins did their job perfectly. But still, I don’t get the exact idea behind the paladin part. Please if you could give any advice I’d be very happy.

---

_[View the full topic](https://discourse.codecombat.com/t/help-i-cant-beat-grim-determination/19848)._
