Added Count$OppDamageThisTurn and Count$YourDamageThisTurn

This commit is contained in:
ArsenalNut
2011-08-27 14:07:49 +00:00
parent bc83bee85e
commit e21831cc74

View File

@@ -2812,6 +2812,16 @@ public class CardFactoryUtil {
return 0;
}
// Count$OppDamageThisTurn
if (sq[0].contains("OppDamageThisTurn")) {
return doXMath(c.getController().getOpponent().getAssignedDamage(), m, c);
}
// Count$YourDamageThisTurn
if (sq[0].contains("YourDamageThisTurn")) {
return doXMath(c.getController().getAssignedDamage(), m, c);
}
// Count$HighestLifeTotal
if (sq[0].contains("HighestLifeTotal")) {
return Math.max(AllZone.getHumanPlayer().getLife(), AllZone.getComputerPlayer().getLife());