Lines 100.00% 3 / 3
Functions and Methods 100.00% 1 / 1
Classes and Traits 100.00% 1 / 1
Name Lines Functions and Methods CRAP Classes and Traits
Dexterity 100.00% 3 / 3 100.00% 1 / 1 1 100.00% 1 / 1
 describe 100.00% 3 / 3 100.00% 1 / 1 1
1<?php
2
3declare(strict_types=1);
4
5namespace Lorekeeper\Core\Game\Attribute\Stat\Primary;
6
7use Lorekeeper\Core\Game\Attribute\Stat\StatDescription;
8use Override;
9
10final readonly class Dexterity extends PrimaryAttribute
11{
12    #[Override]
13    public function describe(): StatDescription
14    {
15        return new StatDescription(
16            'Dexterity is valuable to melee classes. It increases Haste, Hit chance, and Evasion chance. It increases only Evasion chance for caster classes.',
17        );
18    }
19}