mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Improved Absorption, now only applies to living entities, now controllable by plugins
This commit is contained in:
@ -37,6 +37,7 @@ class EntityDamageEvent extends EntityEvent implements Cancellable{
|
||||
const MODIFIER_STRENGTH = 2;
|
||||
const MODIFIER_WEAKNESS = 3;
|
||||
const MODIFIER_RESISTANCE = 4;
|
||||
const MODIFIER_ABSORPTION = 5;
|
||||
|
||||
const CAUSE_CONTACT = 0;
|
||||
const CAUSE_ENTITY_ATTACK = 1;
|
||||
|
Reference in New Issue
Block a user