forked from External/mage
[CMR] Implemented Jared Carthalion, True Heir
This commit is contained in:
parent
f28273a126
commit
ea83757b41
4 changed files with 123 additions and 0 deletions
|
|
@ -3364,6 +3364,12 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
if (monarchId.equals(getMonarchId())) { // Nothing happens if you're already the monarch
|
||||
return;
|
||||
}
|
||||
if (replaceEvent(GameEvent.getEvent(
|
||||
GameEvent.EventType.BECOME_MONARCH,
|
||||
monarchId, source.getSourceId(), monarchId
|
||||
))) {
|
||||
return;
|
||||
}
|
||||
Player newMonarch = getPlayer(monarchId);
|
||||
if (getMonarchId() == null) {
|
||||
getState().addDesignation(new Monarch(), this, monarchId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue