forked from External/mage
[WOE] Implement Ashiok, Wicked Manipulator (#10909)
* [WOE] Implement Ashiok, Wicket Manipulator * Add Ashiok's abilities * basic pay life replacement tests * many tests later * add warning on token expecting watcher * apply review * rework text generation
This commit is contained in:
parent
fe165f1fd0
commit
2a5dd4103c
15 changed files with 634 additions and 19 deletions
|
|
@ -1496,6 +1496,11 @@ public final class CardUtil {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (game.replaceEvent(GameEvent.getEvent(GameEvent.EventType.PAY_LIFE, player.getId(), source, player.getId(), lifeToPay))) {
|
||||
// 2023-08-20: For now, Cost being replaced are paid.
|
||||
// Waiting on actual ruling of Ashiok, Wicked Manipulator.
|
||||
return true;
|
||||
}
|
||||
if (player.loseLife(lifeToPay, game, source, false) >= lifeToPay) {
|
||||
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.LIFE_PAID, player.getId(), source, player.getId(), lifeToPay));
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue