Legendary Planeswalker — Ajani
+1 : Until end of turn, up to one target creature gets +1/+1 and gains first strike, vigilance, and lifelink.
−2 : Put a +1/+1 counter on each creature you control and a loyalty counter on each other planeswalker you control.
−7 : You get an emblem with "If a source would deal damage to you or a planeswalker you control, prevent all but 1 of that damage."
If multiple effects modify how damage is dealt, the player being dealt damage or the controller of the permanent being dealt damage chooses the order to apply the effects. For example, Dictate of the Twin Gods says, “If a source would deal damage to a permanent or player, it deals double that damage to that permanent or player instead.” Suppose you would be dealt 3 damage while Dictate of the Twin Gods is on the battlefield and you control Ajani’s emblem. You can either (a) prevent all but 1 damage first and then let Dictate of the Twin Gods’s effect double that, for a result of being dealt 2 damage, or (b) double the damage to 6 and then prevent all but 1 of that damage.