Merge branch 'venerated-loxodon-fix' into 'master'

Attempting to fix Venerated Loxodon not giving counters to creatures that helped convoke it.

Closes #774

See merge request core-developers/forge!1174
This commit is contained in:
Michael Kamensky
2018-12-08 05:25:49 +00:00
4 changed files with 6 additions and 7 deletions

View File

@@ -4,6 +4,6 @@ Types:Creature Elephant Cleric
PT:4/4
K:Convoke
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounterAll | TriggerDescription$ When CARDNAME enters the battlefield, put a +1/+1 counter on each creature that convoked it.
SVar:TrigPutCounterAll:DB$ PutCounterAll | ValidCards$ Creature.convoked | CounterType$ P1P1 | CounterNum$ 1
SVar:TrigPutCounterAll:DB$ PutCounterAll | ValidCards$ Creature.convoked | CounterType$ P1P1 | CounterNum$ 1 | AILogic$ Always
DeckHas:Ability$Counters
Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of the creature's color.)\nWhen Venerated Loxodon enters the battlefield, put a +1/+1 counter on each creature that convoked it.

View File

@@ -903,10 +903,12 @@ public class HumanPlay {
}
}
if (ability.getTappedForConvoke() != null) {
activator.getGame().getTriggerHandler().suppressMode(TriggerType.Taps);
for (final Card c : ability.getTappedForConvoke()) {
c.setTapped(false);
c.tap();
}
activator.getGame().getTriggerHandler().clearSuppression(TriggerType.Taps);
ability.clearTappedForConvoke();
}
return handleOfferingConvokeAndDelve(ability, cardsToDelve, false);