Floppy/dataslate

View on GitHub

Showing 242 of 242 total issues

Similar blocks of code found in 5 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Combined Arms',
    cost: 1,
    description: `Use this Tactical Ploy after rolling your attack dice for a shooting attack made by a friendly
Severity: Major
Found in src/components/KillTeam2021/data/elucidianStarStriders.ts and 4 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 11..42
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 11..46
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 11..47
src/components/KillTeam2021/data/kasrkin.ts on lines 10..42

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 106.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 5 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Elimination Pattern',
    cost: 1,
    description: `Until the end of the Turning Point, each time a friendly **KASRKIN💀** operative makes a shooting
Severity: Major
Found in src/components/KillTeam2021/data/kasrkin.ts and 4 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/elucidianStarStriders.ts on lines 45..75
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 11..42
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 11..46
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 11..47

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 106.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Slink into Darkness',
    cost: 1,
    description: `Use this Tactical Ploy at the end of a friendly WYRMBLADE💀 operative's activation. If that operative has an Engage order, change it to a Conceal order.
Severity: Major
Found in src/components/KillTeam2021/data/wyrmblade.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Between Colours',
    cost: 1,
    description: `Until the end of the Turning Point, friendly **VOID-DANCER TROUPE💀** operatives can perform **Shoot** actions
Severity: Major
Found in src/components/KillTeam2021/data/voidDancer.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Martial Protocol',
    cost: 1,
    description: `Until the end of the Turning Point:
Severity: Major
Found in src/components/KillTeam2021/data/hunterClade.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Adaptive Tactics',
    cost: 1,
    description: `Use this Tactical Ploy in the Select a Kill Team step, when selecting your kill 
Severity: Major
Found in src/components/KillTeam2021/data/intercessionSquad.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Meticulous Plan',
    cost: 1,
    description: `Until the end of the Turning Point, each time a friendly **NEOPHYTE** operative is activated, if it has a Conceal order,
Severity: Major
Found in src/components/KillTeam2021/data/wyrmblade.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Devastator Doctrine',
    cost: 1,
    description: `Until the end of the Turning Point, each time a friendly **INTERCESSION SQUAD💀** 
Severity: Major
Found in src/components/KillTeam2021/data/intercessionSquad.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Pollute Stockpile',
    cost: 1,
    description: `Use this Tactical Ploy at the start of the Select Equipment step. Select one item of equipment 
Severity: Major
Found in src/components/KillTeam2021/data/gellerpoxInfected.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Murderous Entrance',
    cost: 1,
    description: `Use this Tactical Ploy in the Resolve Successful Hits step of a combat, after a friendly **VOID-DANCER TROUPE💀** operative
Severity: Major
Found in src/components/KillTeam2021/data/voidDancer.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Dimensional Translocation',
    cost: 1,
    description: `Use this Tactical Ploy in the Set Up Operatives step, when you would set up operatives. Select one
Severity: Major
Found in src/components/KillTeam2021/data/hierotekCircle.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Mercenary Contract',
    cost: 1,
    description: `Use this Tactical Ploy in the Select Tac Ops step, when building your Tac Ops deck. Instead of 
Severity: Major
Found in src/components/KillTeam2021/data/farstalkerKinband.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Overcharge Lasguns',
    cost: 1,
    description: `Until the end of the Turning Point, each time a las weapon is selected for a friendly **BLOODED💀** operative to shoot with
Severity: Major
Found in src/components/KillTeam2021/data/blooded.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Overwhelm Target',
    cost: 1,
    description: `Use this Tactical Ploy when you use the Breach and Clear ability (pg 37). Select one of those 
Severity: Major
Found in src/components/KillTeam2021/data/imperialNavyBreachers.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Protector Imperative',
    cost: 1,
    description: `Until the end of the Turning Point:
Severity: Major
Found in src/components/KillTeam2021/data/forgeWorld.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Recon Sweep',
    cost: 1,
    description: `Friendly PATHFINDER💀 operatives that are wholly within ⬟ of any killzone edge can immediately perform a free **Dash** action, but only if they can finish
Severity: Major
Found in src/components/KillTeam2021/data/pathfinder.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Capricious Plan',
    cost: 1,
    description: `Use this Tactical Ploy at the end of a friendly **SORCERER** operative's activation. You can immediately perform a free **Dash** action with that
Severity: Major
Found in src/components/KillTeam2021/data/warpCoven.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const strategicPloys: Ploy[] = [
  {
    name: 'Sssshhhh!',
    cost: 1,
    description: `Friendly KOMMANDO💀 operatives that are not within Line of Sight of enemy operatives, or have a Conceal order and are more than ⬟ from enemy operatives,
Severity: Major
Found in src/components/KillTeam2021/data/kommando.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/phobosStrikeTeam.ts on lines 45..79
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 17 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Stealth Assault',
    cost: 1,
    description: `Use this Tactical Ploy when a friendly **PHOBOS STRIKE TEAM💀** operative with a Conceal order that is not within Engagement Range of an
Severity: Major
Found in src/components/KillTeam2021/data/phobosStrikeTeam.ts and 16 other locations - About 3 hrs to fix
src/components/KillTeam2021/data/blooded.ts on lines 9..37
src/components/KillTeam2021/data/farstalkerKinband.ts on lines 44..76
src/components/KillTeam2021/data/forgeWorld.ts on lines 11..45
src/components/KillTeam2021/data/gellerpoxInfected.ts on lines 48..80
src/components/KillTeam2021/data/hierotekCircle.ts on lines 47..81
src/components/KillTeam2021/data/hunterClade.ts on lines 11..38
src/components/KillTeam2021/data/imperialNavyBreachers.ts on lines 49..83
src/components/KillTeam2021/data/intercessionSquad.ts on lines 9..42
src/components/KillTeam2021/data/intercessionSquad.ts on lines 44..72
src/components/KillTeam2021/data/kommando.ts on lines 9..32
src/components/KillTeam2021/data/pathfinder.ts on lines 9..34
src/components/KillTeam2021/data/voidDancer.ts on lines 9..44
src/components/KillTeam2021/data/voidDancer.ts on lines 46..73
src/components/KillTeam2021/data/warpCoven.ts on lines 42..68
src/components/KillTeam2021/data/wyrmblade.ts on lines 9..37
src/components/KillTeam2021/data/wyrmblade.ts on lines 39..75

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 104.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

const tacticalPloys: Ploy[] = [
  {
    name: 'Murderous entrance',
    cost: 1,
    description: `Use this Tactical Ploy in the Resolve Successful Hits step of a combat, after a friendly TROUPE💀 operative that performed a **Charge** action during this activation strikes with a critical hit.
Severity: Major
Found in src/components/KillTeam2021/data/troupe.ts and 1 other location - About 3 hrs to fix
src/components/KillTeam2021/data/deathGuard.ts on lines 31..53

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 103.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Severity
Category
Status
Source
Language