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

SteelFromAbyss::__construct()   A

Complexity

Conditions 1
Paths 1

Size

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