mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
20 lines
No EOL
368 B
PHP
20 lines
No EOL
368 B
PHP
<?php
|
|
|
|
class ChainLeggingsItem extends ArmorItem{
|
|
|
|
public function __construct($meta = 0, $count = 1){
|
|
parent::__construct(CHAIN_LEGGINGS, $meta, $count, "Chain Leggings");
|
|
}
|
|
|
|
public function getMaterialDurability(){
|
|
return Material::CHAIN;
|
|
}
|
|
|
|
public function getBaseDurability(){
|
|
return 15;
|
|
}
|
|
public function getDamageReduceAmount()
|
|
{
|
|
return 4;
|
|
}
|
|
} |