mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Added Whipkeeper.
This commit is contained in:
@@ -7675,6 +7675,14 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
this.receivedDamageFromThisTurn.clear();
|
||||
}
|
||||
|
||||
public final int getTotalDamageRecievedThisTurn() {
|
||||
int total = 0;
|
||||
for (int damage : this.receivedDamageFromThisTurn.values()) {
|
||||
total += damage;
|
||||
}
|
||||
return total;
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* addDealtDamageToThisTurn.
|
||||
|
||||
@@ -1537,6 +1537,10 @@ public class CardFactoryUtil {
|
||||
return CardFactoryUtil.doXMath(c.getTotalDamageDoneBy(), m, c);
|
||||
}
|
||||
|
||||
if (sq[0].equals("TotalDamageReceivedThisTurn")) {
|
||||
return CardFactoryUtil.doXMath(c.getTotalDamageRecievedThisTurn(), m, c);
|
||||
}
|
||||
|
||||
// Count$YourPoisonCounters
|
||||
if (sq[0].contains("YourPoisonCounters")) {
|
||||
return CardFactoryUtil.doXMath(cardController.getPoisonCounters(), m, c);
|
||||
|
||||
Reference in New Issue
Block a user