EliteMobDamagedByPlayerEvent
Event fired when an elite is damaged by a player.
Parameters
Elite damaged.
Player acting as the damged.
Original Minecraft damage event.
Damage. Can be modifed!
Whether the strike is a critical strike.
Whether the amount of damage is custom, meaning it should apply with no damage reduction of any kind, including armor!
Damage modifiers that the boss may have to reduce incoming damage.
Constructor for testing purposes that allows explicit ranged attack flag. Use this when simulating attacks without an actual EntityDamageByEntityEvent.
Parameters
Elite damaged.
Player acting as the damager.
Base damage amount.
Whether this is a ranged attack.
Constructor for testing purposes with explicit ranged attack and critical strike flags. Used by CombatSimulator.simulateCriticalAttack() to test skills that require critical hits.
Parameters
Elite damaged.
Player acting as the damager.
Base damage amount.
Whether this is a ranged attack.
Whether this is a critical strike.