mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Merge branch 'master' into 'master'
Better way to simulate counters in Crawling Barrens logic See merge request core-developers/forge!4040
This commit is contained in:
@@ -153,7 +153,7 @@ public class SpecialCardAi {
|
||||
Card animated = AnimateAi.becomeAnimated(sa.getHostCard(), sa);
|
||||
animated.addType("Creature");
|
||||
if (sa.getHostCard().canReceiveCounters(CounterEnumType.P1P1)) {
|
||||
animated.addPTBoost(2, 2, sa.getHostCard().getTimestamp(), null); // simulate +2/+2 boost
|
||||
animated.addCounter(CounterEnumType.P1P1, 2, ai, false, null);
|
||||
}
|
||||
boolean isOppEOT = ph.is(PhaseType.END_OF_TURN) && ph.getNextTurn() == ai;
|
||||
boolean isValuableAttacker = ph.is(PhaseType.MAIN1, ai) && ComputerUtilCard.doesSpecifiedCreatureAttackAI(ai, animated);
|
||||
|
||||
Reference in New Issue
Block a user