forked from External/mage
Added a method to set the rule of an ability to the top of the rules shown in the tooltip.
This commit is contained in:
parent
c2360036f3
commit
d7ad639439
4 changed files with 42 additions and 1 deletions
|
|
@ -362,4 +362,14 @@ public class StackAbility implements StackObject, Ability {
|
|||
public boolean isCopy() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getRuleAtTheTop() {
|
||||
return this.ability.getRuleAtTheTop();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRuleAtTheTop(boolean ruleAtTheTop) {
|
||||
this.ability.setRuleAtTheTop(ruleAtTheTop);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue