Passed
Push — master ( 812b31...82efe3 )
by Paweł
02:52
created

SteelFromAbyss   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 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\Strength;
9
use AardsGerds\Game\Build\Talent\WeaponMastery\WeaponMasteryLevel;
10
use AardsGerds\Game\Inventory\Coin;
11
12
final class SteelFromAbyss extends GreatSword
13
{
14 2
    public function __construct()
15
    {
16 2
        parent::__construct(
17 2
            'Steel From Abyss',
18 2
            'Forged in the deeps of Ysen-Tala by Nameless themselves.',
19 2
            new Coin(100),
20 2
            new Coin(400),
21 2
            new Damage(80),
22 2
            WeaponMasteryLevel::warrior(),
23 2
            new Strength(80),
24
        );
25 2
    }
26
}
27