mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
* Benevolent Offering - Fixed that the number of creatures were not multiplied by 2 for life gain.
This commit is contained in:
parent
874b170a74
commit
1cef92ef7a
1 changed files with 2 additions and 2 deletions
|
@ -133,9 +133,9 @@ class BenevolentOfferingEffect2 extends OneShotEffect {
|
|||
target.choose(Outcome.Sacrifice, source.getControllerId(), source.getSourceId(), game);
|
||||
Player opponent = game.getPlayer(target.getFirstTarget());
|
||||
if (opponent != null) {
|
||||
int count = game.getBattlefield().countAll(new FilterCreaturePermanent(), controller.getId(), game);
|
||||
int count = game.getBattlefield().countAll(new FilterCreaturePermanent(), controller.getId(), game) * 2;
|
||||
controller.gainLife(count, game);
|
||||
count = game.getBattlefield().countAll(new FilterCreaturePermanent(), opponent.getId(), game);
|
||||
count = game.getBattlefield().countAll(new FilterCreaturePermanent(), opponent.getId(), game) * 2;
|
||||
opponent.gainLife(count, game);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue