v0.9.4: fixed soul mark errors with low health enemies with shielding
This commit is contained in:
parent
222c0046b1
commit
e984595c32
|
@ -601,7 +601,7 @@ public abstract class Mob extends Char {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (buff(SoulMark.class) != null) {
|
if (buff(SoulMark.class) != null) {
|
||||||
int restoration = Math.min(damage, HP);
|
int restoration = Math.min(damage, HP+shielding());
|
||||||
|
|
||||||
//physical damage that doesn't come from the hero is less effective
|
//physical damage that doesn't come from the hero is less effective
|
||||||
if (enemy != Dungeon.hero){
|
if (enemy != Dungeon.hero){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user