We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 5 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php declare(strict_types=1); |
||
9 | trait CombatWeaponForce { |
||
10 | |||
11 | protected string $name; |
||
12 | protected int $shieldDamage; |
||
13 | protected int $armourDamage; |
||
14 | protected int $accuracy; |
||
15 | protected int $amount; |
||
16 | |||
17 | public function getBaseAccuracy() : int { |
||
18 | return $this->accuracy; |
||
19 | } |
||
20 | |||
21 | public function getName() : string { |
||
22 | return $this->name; |
||
23 | } |
||
24 | |||
25 | public function getShieldDamage() : int { |
||
27 | } |
||
28 | |||
29 | public function getArmourDamage() : int { |
||
30 | return $this->armourDamage; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Returns the amount of this type of force. |
||
35 | */ |
||
36 | public function getAmount() : int { |
||
38 | } |
||
39 | |||
40 | } |
||
41 |