by srid on Tue Jul 31, 2018 12:01 pm
I just did a quick test, and I confirm that the damage prediction seem to be incorrect with DeathGaze + Lifesteal:
the predicted health after the interaction is slightly higher than the what actually happens.
I did not notice any inconsistency without Lifesteal, though.
...
After having a look at the code, I confirm:
When the actual attack happens, lifesteal only happen on DeathGaze damage when the DeathGaze kills the enemy.
In that case, you can actually drink more HP from the enemy than what he actually has left.
If the enemy survives Deathgaze, then no lifesteal happen from that DeathGaze damage, and lifesteal will happen on the regular damage instead.
Damage prediction is a similar here:
If the enemy does not survive DeathGaze, lifesteal will happen on the deathgaze damage and you can actually drink more HP from the enemy than what he actually has.
The problem comes with DP: if the enemy has DP, the prediction will consider that the enemy does not survive DeathGaze, and will predict BaseDamage * Level lifesteal from DeathGaze, while on the actual attack, the enemy will survive DeathGaze and normal lifesteal (1 HP) will happen. Hence you dying despite prediction saying SAFE.
I'll fix it for the EE when I get the time.
We made an expansion and it is awesome. Really, you should check it out, especially if you're looking for some extra challenge.
Download over at ddmod.weebly.com!