mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Merge pull request #2852 from goesta/GontisMachinationsFix
Changed GontisMachinations effect from damage to loseLife
This commit is contained in:
commit
b316b5b0a0
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class GontisMachinationsEffect extends OneShotEffect {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
int damage = 0;
|
int damage = 0;
|
||||||
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
|
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
|
||||||
damage += game.getPlayer(opponentId).damage(3, source.getSourceId(), game, false, true);
|
damage += game.getPlayer(opponentId).loseLife(3, game, false);
|
||||||
}
|
}
|
||||||
game.getPlayer(source.getControllerId()).gainLife(damage, game);
|
game.getPlayer(source.getControllerId()).gainLife(damage, game);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue