# Lady Sapphira Bug Takes half Damage

**URL:** <https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530>\
**Category:** Support\
**Created:** [April 12, 2017, 2:14pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530 "2017-04-12T14:14:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![EvilPixels](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@EvilPixels](https://community.gemsofwar.com/u/EvilPixels)\
**Post date:** [April 12, 2017, 2:14pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/1 "2017-04-12T14:14:02Z")

</div>

Was doing some whitehelm explores. Come up against Lady Sapphira twice first time I saw it my bombot hit 36 damage to all other troops but hit 18 to the Sapphira meaning she didnt die. Second time I watched it the first bombot went off fine full damage. Then the second bombot hit and it did 18 again. So it seems something related to her Life Drain trait and damage that would cause death is for some reason halfed?

Edit: Also happened on Spider Queen so it applies to any hero with Life Drain Trait

How to replicate…

Use a attack on a Life Drain traited hero that is greater than their life but when halfed is less than their life.

E.g if they have 20 life your damage should be more than 20 but less than 40. Which will result in the hero surviving and taking half of the damage.

P.S I think this would be a cool trait called “Battle Hardened” where you take half damage on killing blows.

---

<div class="post-metadata">

**Author:** ![Ozball](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/ozball/32/36110_2.png) [@Ozball](https://community.gemsofwar.com/u/Ozball)\
**Post date:** [April 12, 2017, 3:22pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/2 "2017-04-12T15:22:26Z")

</div>

Yup, Bombot’s spell and the Life Drain are a known issue. Hopefully this will be fixed in the near future.

> [@Life Drain bug - premature damage reduction](http://community.gemsofwar.com/t/life-drain-bug-premature-damage-reduction/19233):
>
> What you were expecting to happen, and what actually happened? When killing an enemy with the life drain trait via a spell that kills your own troop (ie Sacrificial Priest, Bombot), the troop with life drain will resurrect itself with 4 health after taking lethal damage, even if the lethal damage was above starting life + 4. Troops should not resurrect themselves. EDIT: I now believe this is a case of damage being reduced prematurely. All damage should be applied and any overkill should onl…

---

<div class="post-metadata">

**Author:** ![EvilPixels](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@EvilPixels](https://community.gemsofwar.com/u/EvilPixels)\
**Post date:** [April 12, 2017, 3:25pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/3 "2017-04-12T15:25:24Z")

</div>

Ah its 3 months old now and was mentioned as a “old bug” then, this really should have been fixed then huh!

---

<div class="post-metadata">

**Author:** ![Ozball](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/ozball/32/36110_2.png) [@Ozball](https://community.gemsofwar.com/u/Ozball)\
**Post date:** [April 12, 2017, 3:28pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/4 "2017-04-12T15:28:09Z")

</div>

I’m not sure of the cause, but it’s possible it’s due to race conditions in the code, which would not be very easy to fix without rewriting a lot of stuff (here’s hoping the shift to Unity might fix these sorts of things?)

---

<div class="post-metadata">

**Author:** ![EvilPixels](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@EvilPixels](https://community.gemsofwar.com/u/EvilPixels)\
**Post date:** [April 12, 2017, 3:31pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/5 "2017-04-12T15:31:05Z")

</div>

Hope so, if we can take anything else positive away from this it gives the devs a nice concept of a new trait.

---

<div class="post-metadata">

**Author:** ![Strat](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Strat](https://community.gemsofwar.com/u/Strat)\
**Post date:** [April 12, 2017, 3:41pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/6 "2017-04-12T15:41:07Z")

</div>

> [@Ozball](#):
>
> (here’s hoping the shift to Unity might fix these sorts of things?)

I believe console has been on Unity since launch. Unity is not the antidote for all the bugs.

HOWEVER, having only 1 code base (instead of 2) to support will allow the developers to theoretically squash 2x the amount of bugs.

---

<div class="post-metadata">

**Author:** ![Rasper](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/rasper/32/2363_2.png) [@Rasper](https://community.gemsofwar.com/u/Rasper)\
**Post date:** [April 12, 2017, 3:44pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/7 "2017-04-12T15:44:00Z")

</div>

> [@Ozball](#):
>
> I’m not sure of the cause, but it’s possible it’s due to race conditions in the code, which would not be very easy to fix without rewriting a lot of stuff (here’s hoping the shift to Unity might fix these sorts of things?)

When something deals damage to a troop, it caps the damage at the troop’s current armor + life total, this is to prevent split damage from doing 50 damage to a troop with 1 hp and 5 damage to a troop with 30 hp.

Assume for a moment you are facing a troop with life drain and 30 life. If your bombot would do 50 damage it first caps that at 30, which is enough to kill. Then the troop’s life drain trait fires since bombot dies, so it gains 4 life giving a total of 34. The bombot damage, which was set to 30, is applied leaving 4 life.

However, if there are skulls on the board and your explosion destroys them, that damage gets added to the stack After the life drain trait fired. If we continue the above scenario and assume 2 skulls on the board the game logic goes like this:

Bombot cast  
Apply 50 damage to all troops  
\*\* cap damage to armor/life of troops (reducing damage to 30)  
Kill Bombot  
\*\* Life drain triggers, raising life to 34  
Trigger explosions  
\*\* apply 2 damage to troop, bringing total to 32  
Resolve damage 34 - 32, leaving 2 health.  
Resolve mana from explosions  
Remove Bombot from lineup

---

<div class="post-metadata">

**Author:** ![GemsCollector](https://avatars.discourse-cdn.com/v4/letter/g/b4bc9f/32.png) [@GemsCollector](https://community.gemsofwar.com/u/GemsCollector)\
**Post date:** [April 12, 2017, 4:13pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/8 "2017-04-12T16:13:22Z")

</div>

Thanks. I was wondering why sometimes Bombot do kill a Life Drain troop - must’ve been because of exploded skulls.

---

<div class="post-metadata">

**Author:** ![kynetarse](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/kynetarse/32/24815_2.png) [@kynetarse](https://community.gemsofwar.com/u/kynetarse)\
**Post date:** [April 12, 2017, 4:22pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/9 "2017-04-12T16:22:50Z")

</div>

That’s essentially the conclusion I ended up with in the other thread, that damage is being artificially capped too early. While that does make sense from the perspective of the split damage troops, it sounds like they need to diverge the handling a bit there.

I’m still not quite sure how skulls are applied, though; I have witnessed life drain troops die from Bombot as expected when receiving a single skull damage due to the explosion.

---

<div class="post-metadata">

**Author:** ![Gouki](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/gouki/32/22405_2.png) [@Gouki](https://community.gemsofwar.com/u/Gouki)\
**Post date:** [April 12, 2017, 5:00pm UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/10 "2017-04-12T17:00:55Z")

</div>

> [@Ozball](#):
>
> Yup, Bombot’s spell and the Life Drain are a known issue. Hopefully this will be fixed in the near future.

While it is a bug i hope it never gets fixed. It gives a very situational use to an otherwise completely useless trait. 😉

---

<div class="post-metadata">

**Author:** ![Ozball](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/ozball/32/36110_2.png) [@Ozball](https://community.gemsofwar.com/u/Ozball)\
**Post date:** [April 13, 2017, 3:53am UTC](https://community.gemsofwar.com/t/lady-sapphira-bug-takes-half-damage/22530/11 "2017-04-13T03:53:42Z")

</div>

> [@Strat](#):
>
> I believe console has been on Unity since launch. Unity is not the antidote for all the bugs.

HEATHEN! UNITY SOLVES ALL!!!

j/k 😛 In all seriousness, I was quite tired when I wrote that post, and couldn’t remember much of the details that we’d learnt about the bug. My guess is that it’s not a simple bug to fix at least, so not sure when it will be fixed.
