Passed
Push — master ( fa53c0...9478ec )
by Paweł
02:37
created

Amuril   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 10
c 1
b 0
f 0
dl 0
loc 15
ccs 9
cts 9
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 11 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AardsGerds\Game\Inventory\Weapon\GreatSword;
6
7
use AardsGerds\Game\Build\Attribute\Damage;
8
use AardsGerds\Game\Build\Attribute\Etherum;
9
use AardsGerds\Game\Build\Attribute\Strength;
10
use AardsGerds\Game\Build\Talent\WeaponMastery\WeaponMasteryLevel;
11
use AardsGerds\Game\Inventory\Coin;
12
use AardsGerds\Game\Inventory\Weapon\RebredirWeapon;
13
14
final class Amuril extends GreatSword
15
{
16
    use RebredirWeapon;
17
18 1
    public function __construct(
19
        private Etherum $etherumLoad,
20
    ) {
21 1
        parent::__construct(
22 1
            'Amuril',
23 1
            'Ancestral sword of House Maane. His name means "Poisoned Soul".',
24 1
            new Coin(10000),
25 1
            new Coin(10000),
26 1
            new Damage(180),
27 1
            WeaponMasteryLevel::masterOfFirstTier(),
28 1
            new Strength(100),
29
        );
30 1
    }
31
}
32