mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
* Gemstone Mine - Fixed that it did not produce mana anymore.
This commit is contained in:
parent
f137f9c49c
commit
d2b252b517
2 changed files with 6 additions and 12 deletions
|
|
@ -70,11 +70,11 @@ public class ConditionalOneShotEffect extends OneShotEffect {
|
|||
if (condition.apply(game, source)) {
|
||||
effect.setTargetPointer(this.targetPointer);
|
||||
return effect.apply(game, source);
|
||||
} else if (otherwiseEffect != null) {
|
||||
otherwiseEffect.setTargetPointer(this.targetPointer);
|
||||
return otherwiseEffect.apply(game, source);
|
||||
} else if (otherwiseEffect == null) {
|
||||
return true; // nothing to do - no problem
|
||||
}
|
||||
return false;
|
||||
otherwiseEffect.setTargetPointer(this.targetPointer);
|
||||
return otherwiseEffect.apply(game, source);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue