mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
[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);
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue