mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
fixed Widespread Brutality sometimes not working
This commit is contained in:
parent
4556725ecd
commit
8bdb0934d0
1 changed files with 1 additions and 3 deletions
|
@ -56,9 +56,7 @@ class WidespreadBrutalityEffect extends OneShotEffect {
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
AmassEffect amassEffect = new AmassEffect(2);
|
AmassEffect amassEffect = new AmassEffect(2);
|
||||||
if (!amassEffect.apply(game, source)) {
|
amassEffect.apply(game, source);
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Permanent amassedArmy = game.getPermanent(amassEffect.getAmassedCreatureId());
|
Permanent amassedArmy = game.getPermanent(amassEffect.getAmassedCreatureId());
|
||||||
if (amassedArmy == null) {
|
if (amassedArmy == null) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue