* Benevolent Offering - Fixed that the number of creatures were not multiplied by 2 for life gain.

This commit is contained in:
LevelX2 2015-02-11 08:28:05 +01:00
parent 874b170a74
commit 1cef92ef7a

View file

@ -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;
}