Improved implementation for isCommander and RingBearer card status (now they are no longer basic abilities but inner card properties in order to avoid conflicts with abilitiy modificators), added a white border on commanders to highlight them during match in the various game zones.
This commit is contained in:
@@ -266,7 +266,7 @@ int Damage::resolve()
|
||||
else
|
||||
{
|
||||
((MTGCardInstance*)source)->damageToOpponent += damage;
|
||||
if(((MTGCardInstance*)source)->basicAbilities[Constants::ISCOMMANDER])
|
||||
if(((MTGCardInstance*)source)->isCommander > 0)
|
||||
((MTGCardInstance*)source)->damageInflictedAsCommander += damage;
|
||||
}
|
||||
target->lifeLostThisTurn += damage;
|
||||
|
||||
Reference in New Issue
Block a user