mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Fixed Ghazban Ogre.
This commit is contained in:
@@ -23,7 +23,7 @@ public class ControlGainEffect extends SpellAbilityEffect {
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
|
||||
List<Player> newController = getTargetPlayers(sa, "NewController");
|
||||
if (newController.size() == 0) {
|
||||
if (newController.isEmpty()) {
|
||||
newController.add(sa.getActivatingPlayer());
|
||||
}
|
||||
|
||||
|
||||
@@ -2482,7 +2482,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
} else if (property.startsWith("withMost")) {
|
||||
if (property.substring(8).equals("Life")) {
|
||||
int highestLife = this.getLife(); // Negative base just in case a few Lich's are running around
|
||||
Player healthiest = null;
|
||||
Player healthiest = this;
|
||||
for (final Player p : game.getPlayers()) {
|
||||
if (p.getLife() > highestLife) {
|
||||
highestLife = p.getLife();
|
||||
|
||||
Reference in New Issue
Block a user