forked from External/mage
Rework Ring-bearer implementation. Add GUI + gamelogs. (#10596)
* Fix Ring-bearer choosing & add some GUI + logs * use a ring svg in a separate gold panel * use a fontawesome svg * add a couple null checks, group icon with commander * rework rinbearer logic according to review * fix typo in game log * small fixes
This commit is contained in:
parent
4065e2e935
commit
14235b6320
20 changed files with 177 additions and 86 deletions
|
|
@ -589,7 +589,10 @@ public abstract class GameImpl implements Game {
|
|||
}
|
||||
player.chooseRingBearer(this);
|
||||
getOrCreateTheRing(playerId).addNextAbility(this);
|
||||
fireEvent(GameEvent.getEvent(GameEvent.EventType.TEMPTED_BY_RING, player.getRingBearerId(), null, playerId));
|
||||
|
||||
Permanent ringbearer = player.getRingBearer(this);
|
||||
UUID ringbearerId = ringbearer == null ? null : ringbearer.getId();
|
||||
fireEvent(GameEvent.getEvent(GameEvent.EventType.TEMPTED_BY_RING, ringbearerId, null, playerId));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue