- Fixed Ghazban Ogre.

This commit is contained in:
Sloth
2013-10-04 19:55:21 +00:00
parent 9349fa9217
commit 91d37b38cc
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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();