public function equals(Enchantment $ent)
{
if ($ent->getId() == $this->getId() and $ent->getLevel() == $this->getLevel() and $ent->getActivationType() == $this->getActivationType() and $ent->getRarity() == $this->getRarity()) {
return true;
}
return false;
}