Total Complexity | 8 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 5.88% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | #[Immutable] |
||
19 | 1 | final class Haze implements EtherumAttack, SecretKnowledgeTalent |
|
20 | { |
||
21 | public function getDamage(): Damage |
||
22 | { |
||
23 | return new Damage(0); |
||
24 | } |
||
25 | |||
26 | public function getEffects(): EffectCollection |
||
27 | { |
||
28 | return new EffectCollection([new Stun()]); |
||
29 | } |
||
30 | |||
31 | public static function getEtherumCost(): Etherum |
||
32 | { |
||
33 | return new Etherum(1); |
||
34 | } |
||
35 | |||
36 | public static function getName(): string |
||
37 | { |
||
38 | return 'Haze'; |
||
39 | } |
||
40 | |||
41 | public static function getDescription(): string |
||
42 | { |
||
43 | return 'Gives your enemy a break.'; |
||
44 | } |
||
45 | |||
46 | public static function getRequiredTalentPoints(): TalentPoints |
||
47 | { |
||
48 | return new TalentPoints(2); |
||
49 | } |
||
50 | |||
51 | public static function getRequiredAscension(): Ascension |
||
54 | } |
||
55 | |||
56 | public function __toString(): string |
||
57 | { |
||
58 | return self::getName(); |
||
59 | } |
||
60 | } |
||
61 |