mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Implemented critical hits (#1929)
This commit is contained in:
committed by
Dylan K. Taylor
parent
cbbed6a6c1
commit
ad8d67137e
@ -39,6 +39,7 @@ class EntityDamageEvent extends EntityEvent implements Cancellable{
|
||||
public const MODIFIER_RESISTANCE = 4;
|
||||
public const MODIFIER_ABSORPTION = 5;
|
||||
public const MODIFIER_ARMOR_ENCHANTMENTS = 6;
|
||||
public const MODIFIER_CRITICAL = 7;
|
||||
|
||||
public const CAUSE_CONTACT = 0;
|
||||
public const CAUSE_ENTITY_ATTACK = 1;
|
||||
|
Reference in New Issue
Block a user