[CMR] Implemented Anointer of Valor

This commit is contained in:
Evan Kranzler 2020-11-07 15:19:57 -05:00
parent c7c76c262a
commit 2dea1b173d
3 changed files with 57 additions and 0 deletions

View file

@ -56,6 +56,7 @@ public class DoWhenCostPaid extends OneShotEffect {
cost.clearPaid();
int bookmark = game.bookmarkState();
if (cost.pay(source, game, source.getSourceId(), player.getId(), false)) {
ability.getEffects().setTargetPointer(getTargetPointer());
game.fireReflexiveTriggeredAbility(ability, source);
player.resetStoredBookmark(game);
return true;