mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
[NEO] Implemented Mobilizer Mech
This commit is contained in:
parent
626486d704
commit
04129c55fa
5 changed files with 103 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue