[NEO] Implemented Mobilizer Mech

This commit is contained in:
Evan Kranzler 2022-02-03 19:20:24 -05:00
parent 626486d704
commit 04129c55fa
5 changed files with 103 additions and 0 deletions

View file

@ -110,6 +110,7 @@ class CrewCost extends CostImpl {
for (UUID targetId : target.getTargets()) {
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.CREWED_VEHICLE, targetId, source, controllerId));
}
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.VEHICLE_CREWED, source.getSourceId(), source, controllerId));
}
} else {
return false;

View file

@ -148,6 +148,12 @@ public class GameEvent implements Serializable {
sourceId sourceId of the vehicle
playerId the id of the controlling player
*/
VEHICLE_CREWED,
/* VEHICLE_CREWED
targetId the id of the vehicle
sourceId sourceId of the vehicle
playerId the id of the controlling player
*/
X_MANA_ANNOUNCE,
/* X_MANA_ANNOUNCE
mana x-costs announced by players (X value can be changed by replace events like Unbound Flourishing)