Passed
Push — master ( 5a7d8c...49f3d4 )
by Paweł
02:50
created

Amuril::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 8
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 11
ccs 0
cts 9
cp 0
crap 2
rs 10
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
    public function __construct(
19
        private Etherum $etherumLoad,
20
    ) {
21
        parent::__construct(
22
            'Amuril',
23
            'Ancestral sword of House Maane. His name means "Poisoned Soul".',
24
            new Coin(10000),
25
            new Coin(10000),
26
            new Damage(180),
27
            WeaponMasteryLevel::masterOfFirstTier(),
28
            new Strength(100),
29
        );
30
    }
31
}
32