public function createThornsDamage()
{
if ($this->thornsLevel !== []) {
$this->thornsArmor = array_rand($this->thornsLevel);
$thornsL = $this->thornsLevel[$this->thornsArmor];
if (mt_rand(1, 100) < $thornsL * 15) {
$this->thornsDamage = mt_rand(1, 4);
}
}
}