Removed damage-table mess and added API methods Item->getAttackPoints() and Item->getDefensePoints()

This commit is contained in:
Dylan K. Taylor
2017-08-26 12:58:20 +01:00
parent 7c212d3d53
commit 13187e1749
42 changed files with 183 additions and 57 deletions

View File

@ -28,4 +28,8 @@ class LeatherCap extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::LEATHER_CAP, $meta, "Leather Cap");
}
public function getDefensePoints() : int{
return 1;
}
}