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