Lines 100.00% 1 / 1
Functions and Methods 100.00% 1 / 1
Classes and Traits 100.00% 1 / 1
Name Lines Functions and Methods CRAP Classes and Traits
DotResistance 100.00% 1 / 1 100.00% 1 / 1 1 100.00% 1 / 1
 describe 100.00% 1 / 1 100.00% 1 / 1 1
1<?php
2
3declare(strict_types=1);
4
5namespace Lorekeeper\Core\Game\Attribute\Stat\Resistance;
6
7use Lorekeeper\Core\Game\Attribute\Stat\StatDescription;
8use Override;
9
10final readonly class DotResistance extends Resistance
11{
12    protected const float CAP = 1.0;
13
14    #[Override]
15    public function describe(): StatDescription
16    {
17        return new StatDescription('Reduces incoming damage over time, while it ticks.');
18    }
19}