Cant life change
This commit is contained in:
@@ -162,7 +162,8 @@ int Player::gainOrLoseLife(int value)
|
||||
thatmuch = abs(value); //the value that much is a variable to be used with triggered abilities.
|
||||
//ie:when ever you gain life, draw that many cards. when used in a trigger draw:thatmuch, will return the value
|
||||
//that the triggered event stored in the card for "that much".
|
||||
life+=value;
|
||||
if (!inPlay()->hasAbility(Constants::CANTCHANGELIFE))
|
||||
life+=value;
|
||||
if (value<0)
|
||||
lifeLostThisTurn += abs(value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user