# \[Reported\] Broken troop - Warhawk Edition

**URL:** <https://community.gemsofwar.com/t/reported-broken-troop-warhawk-edition/64055>\
**Category:** Bug Reports\
**Created:** [June 8, 2020, 12:31pm UTC](https://community.gemsofwar.com/t/reported-broken-troop-warhawk-edition/64055 "2020-06-08T12:31:00Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Mithran](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/mithran/32/18064_2.png) [@Mithran](https://community.gemsofwar.com/u/Mithran)\
**Post date:** [June 8, 2020, 9:44pm UTC](https://community.gemsofwar.com/t/reported-broken-troop-warhawk-edition/64055/9 "2020-06-08T21:44:22Z")

</div>

> [@igniteice](#):
>
> He’s not draining mana, he’s stealing it.

All forms of mana steal are an extension of mana drain and are blocked by the respective immunity. He actually steals the mana _before_ dealing damage (despite what the spell text says) in order to prevent the issue of not gaining mana if the target dies. He’s not stealing mana from towers because towers are immune. This one is a design quirk, not a bug.

The thing brought up in the original post _is_ a bug, though.

The issue of some checks or effects straight failing when the target dies bug reports go all the way back to 2017 (reported for Warhawk) and were reported as recently as this thread (reported for Blightwing, where I brought up Warhawk again):

> [@\[Reported\] Blightwing's explode doesn't work if the target dies](https://community.gemsofwar.com/t/reported-blightwings-explode-doesnt-work-if-the-target-dies/62480/6):
>
> I’ve seen a similar issue a while back, and I don’t think it ever got fixed, where Warhawk gets denied an extra turn if his initial damage kills a target with Hunter’s Mark. Heres a bug report from 2018 (there are many support threads dated earlier, going back into 2017): I don’t think the issue was ever resolved, but I don’t have time to check right now. Maybe someone can do a quick check to see if this is around, because it is almost certainly related. Warhawk is definitely still bugged…

Going to reiterate that the simplest fix for those spells affected would probably be alter the _spell effects_ order to run the relevant check _before_ the damage (in the case of blightwing, check statuses to explode _first_, then deal damage; in the case of Warhawk, check Hunter’s Mark for extra turn _first_, then damage, then check hunter’s mark for extra damage). That would hopefully remove the need change how things work universally in the code and just some new spell data would be pushed for a few spells.

Things that steal stats and deal damage were mostly altered in a similar way (despite what the spell text says for their respective spells), because you _also_ can’t steal stats from a dead troop. Things that _check_ skill points to see if they need to do a secondary non damage effect (Orc Veteran, Silver Drakon) _appear_ to still run the damage portion first, but had a similar issue a long time ago where the secondary effect never worked if the target died and were _fixed_ so their check works even if the target dies. Not sure if the check is _actually_ run first and its some visual trickery or if the relevant data is kept around for the check to get run later, but this sounds like a more involved fix.

---

_[View the full topic](https://community.gemsofwar.com/t/reported-broken-troop-warhawk-edition/64055)._
