fixed an oversight and an error...in lifelostthisturn for a player, if the life gain was less then 0 then i want to ADD the abs pos to the amount, not remove it...and damage from creatures is considered lifelost...
This commit is contained in:
@@ -171,6 +171,7 @@ int Damage::resolve()
|
||||
//return the left over amount after effects have been applied to them.
|
||||
a = target->dealDamage(damage);
|
||||
target->damageCount += 1;
|
||||
target->lifeLostThisTurn += damage;
|
||||
}
|
||||
|
||||
//Send (Damage/Replaced effect) event to listeners
|
||||
|
||||
Reference in New Issue
Block a user