[LTR] Implement Gandalf, Friend of the Shire

This commit is contained in:
theelk801 2023-05-08 17:28:38 -04:00
parent 013f14c699
commit 4271ec8aec
4 changed files with 90 additions and 3 deletions

View file

@ -589,7 +589,7 @@ public abstract class GameImpl implements Game {
}
player.chooseRingBearer(this);
getOrCreateTheRing(playerId).addNextAbility(this);
fireEvent(GameEvent.getEvent(GameEvent.EventType.TEMPTED_BY_RING, playerId, null, playerId));
fireEvent(GameEvent.getEvent(GameEvent.EventType.TEMPTED_BY_RING, player.getRingBearerId(), null, playerId));
}
@Override
@ -1857,8 +1857,8 @@ public abstract class GameImpl implements Game {
/**
* @param plane
* @param toPlayerId controller and owner of the plane (may only be one
* per game..)
* @param toPlayerId controller and owner of the plane (may only be one
* per game..)
* @return boolean - whether the plane was added successfully or not
*/
@Override