Class BeforePhysicalAttackEvent
java.lang.Object
net.demilich.metastone.game.events.GameEvent
net.demilich.metastone.game.events.BasicGameEvent
net.demilich.metastone.game.events.ValueEvent
net.demilich.metastone.game.events.PhysicalAttackEvent
net.demilich.metastone.game.events.BeforePhysicalAttackEvent
- All Implemented Interfaces:
Serializable
,Cloneable
,HasValue
,Notification
Before the attack happens and damage dealt is calculated.
This event fires after targets are resolved and possibly overriden, but before stealth is lost, the number of attacks is modified or immunity is applied.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBeforePhysicalAttackEvent
(GameContext context, Actor attacker, Actor defender) -
Method Summary
Methods inherited from class net.demilich.metastone.game.events.PhysicalAttackEvent
getAttacker, getDamageDealt, getDefender
Methods inherited from class net.demilich.metastone.game.events.ValueEvent
getValue
Methods inherited from class net.demilich.metastone.game.events.BasicGameEvent
getEventType, isClientInterested
Methods inherited from class net.demilich.metastone.game.events.GameEvent
clone, getDescription, getGameContext, getSource, getSourcePlayerId, getTarget, getTargetPlayerId, getTargets, isPowerHistory, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.demilich.metastone.game.events.Notification
getSource
-
Constructor Details
-
BeforePhysicalAttackEvent
-