NostalgiaCore/src/material/item/armor/GoldenLeggingsItem.php
2023-01-23 17:39:57 +03:00

20 lines
No EOL
370 B
PHP

<?php
class GoldenLeggingsItem extends ArmorItem{
public function __construct($meta = 0, $count = 1){
parent::__construct(GOLDEN_LEGGINGS, $meta, $count, "Golden Leggings");
}
public function getMaterialDurability(){
return Material::GOLD;
}
public function getBaseDurability(){
return 15;
}
public function getDamageReduceAmount()
{
return 3;
}
}