[DMU] Implement Enlist ability (#9431)

* implement enlist ability

* remove skips for enlist

* [DMU] Implemented Guardian of New Benalia

* add test for enlist
This commit is contained in:
Evan Kranzler 2022-08-29 18:51:13 -04:00 committed by GitHub
parent 9b094fb883
commit 697586a552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 324 additions and 10 deletions

View file

@ -354,6 +354,14 @@ public class GameEvent implements Serializable {
BECOMES_EXERTED,
BECOMES_RENOWNED,
GAINS_CLASS_LEVEL,
/* CREATURE_ENLISTED
targetId id of the enlisted creature
sourceId id of the creature that enlisted
playerId player who controls the creatures
amount not used for this event
flag not used for this event
*/
CREATURE_ENLISTED,
/* BECOMES_MONARCH
targetId playerId of the player that becomes the monarch
sourceId id of the source object that created that effect, if no effect exist it's null