mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
Changes to first trigger
This commit is contained in:
parent
0ec629d6e5
commit
4e34b0d1d3
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class BaronVonCountTriggeredAbility extends TriggeredAbilityImpl {
|
|||
return false;
|
||||
}
|
||||
Integer doomNumber = (Integer) game.getState().getValue(mageObject.getId() + "_doom");
|
||||
if (spell != null && sourcePermanent != null && mageObject != null) {
|
||||
if (spell != null && sourcePermanent != null && mageObject != null && doomNumber > 0) {
|
||||
String doomString = doomNumber.toString();
|
||||
if (spell.getCard().getManaCost().getText().contains(doomString)
|
||||
|| String.valueOf(spell.getPower().getBaseValue()).contains(doomString)
|
||||
|
|
Loading…
Reference in a new issue