mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
* Unbreathing Horde - Fixed that it always came to battlefield with zero +1/+1 counters.
This commit is contained in:
parent
0f3a72de06
commit
353ddd9dfe
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class UnbreathingHordeEffect1 extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
Permanent permanent = game.getPermanent(source.getSourceId());
|
||||
Permanent permanent = game.getPermanentEntering(source.getSourceId());
|
||||
if (permanent != null && player != null) {
|
||||
int amount = game.getBattlefield().countAll(filter1, source.getControllerId(), game) - 1;
|
||||
amount += player.getGraveyard().count(filter2, game);
|
||||
|
|
Loading…
Reference in a new issue