mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
[AFC] fixed Sword of Hours incorrectly comparing die roll and damage
This commit is contained in:
parent
9850abeef8
commit
11ce58c579
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue