mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Implemented proportional armor modifier, applied armor in other damage types and consume armor when player is damaged
This commit is contained in:
@ -27,4 +27,8 @@ abstract class Armor extends Item{
|
||||
public function getMaxStackSize(){
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public abstract function getArmorPoints();
|
||||
}
|
||||
|
Reference in New Issue
Block a user