mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Fixed Gerrard Capashen
This commit is contained in:
@@ -19,7 +19,7 @@ public class LifeGainEffect extends SpellAbilityEffect {
|
|||||||
final StringBuilder sb = new StringBuilder();
|
final StringBuilder sb = new StringBuilder();
|
||||||
final int amount = AbilityUtils.calculateAmount(sa.getSourceCard(), sa.getParam("LifeAmount"), sa);
|
final int amount = AbilityUtils.calculateAmount(sa.getSourceCard(), sa.getParam("LifeAmount"), sa);
|
||||||
|
|
||||||
for (final Player player : getTargetPlayers(sa)) {
|
for (final Player player : getDefinedPlayersOrTargeted(sa)) {
|
||||||
sb.append(player).append(" ");
|
sb.append(player).append(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ public class LifeGainEffect extends SpellAbilityEffect {
|
|||||||
final int lifeAmount = AbilityUtils.calculateAmount(sa.getSourceCard(), sa.getParam("LifeAmount"), sa);
|
final int lifeAmount = AbilityUtils.calculateAmount(sa.getSourceCard(), sa.getParam("LifeAmount"), sa);
|
||||||
|
|
||||||
final TargetRestrictions tgt = sa.getTargetRestrictions();
|
final TargetRestrictions tgt = sa.getTargetRestrictions();
|
||||||
List<Player> tgtPlayers = getTargetPlayers(sa);
|
List<Player> tgtPlayers = getDefinedPlayersOrTargeted(sa);
|
||||||
if( tgtPlayers.isEmpty() ) {
|
if( tgtPlayers.isEmpty() ) {
|
||||||
tgtPlayers.add(sa.getActivatingPlayer());
|
tgtPlayers.add(sa.getActivatingPlayer());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user