forked from External/mage
[NEO] Implemented Bronze Cudgels
This commit is contained in:
parent
dece8da0ad
commit
b92128dd41
5 changed files with 96 additions and 15 deletions
|
|
@ -15,11 +15,7 @@ public enum AbilityResolutionCount implements DynamicValue {
|
|||
|
||||
@Override
|
||||
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
||||
AbilityResolvedWatcher watcher = game.getState().getWatcher(AbilityResolvedWatcher.class);
|
||||
if (watcher != null) {
|
||||
return watcher.getResolutionCount(game, sourceAbility);
|
||||
}
|
||||
return 0;
|
||||
return AbilityResolvedWatcher.getResolutionCount(game, sourceAbility);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue