Combat.java - wrong implementation
- Code: Select all
private List<Card> combatantDealtFirstStrikeDamage = Lists.newArrayList();
High Quality Resources for Collectible Card Games
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=11375
private List<Card> combatantDealtFirstStrikeDamage = Lists.newArrayList();No, it doesn't. It refers to whether a Card assigned damage during the first strike damage, not whether it received damage. It's needed in the Combat class to determine if a creature will deal damage in the non-first strike damage, since before this we were incorrectly just checking if creatures had first strike, which is not correct since if a creature gains or loses first strike it wouldn't correctly assign damage the second time.Max mtg wrote:Should not be in Combat class. It refers to card damage history if a card was dealt first-strike damage.
- Code: Select all
private List<Card> combatantDealtFirstStrikeDamage = Lists.newArrayList();