[CMR] Implemented Jared Carthalion, True Heir

This commit is contained in:
Evan Kranzler 2020-11-07 20:08:27 -05:00
parent f28273a126
commit ea83757b41
4 changed files with 123 additions and 0 deletions

View file

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

View file

@ -296,6 +296,7 @@ public class GameEvent implements Serializable {
amount not used for this event
flag not used for this event
*/
BECOME_MONARCH,
BECOMES_MONARCH,
MEDITATED,
PHASE_OUT, PHASED_OUT,