1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-11 17:00:08 -09:00

[AFC] fixed Sword of Hours incorrectly comparing die roll and damage

This commit is contained in:
Evan Kranzler 2021-11-16 18:43:32 -05:00
parent 9850abeef8
commit 11ce58c579

View file

@ -75,7 +75,7 @@ class SwordOfHoursEffect extends OneShotEffect {
}
int result = player.rollDice(outcome, source, game, 12);
int damage = (Integer) getValue("damage");
if (result != 12 && damage <= result) {
if (result != 12 && damage >= result) {
return true;
}
Permanent sourcePermanent = source.getSourcePermanentOrLKI(game);