Skip to content

Commit

Permalink
Revert "Merge pull request OpenDominion#584 from WaveHack/feature/the…
Browse files Browse the repository at this point in the history
…-nox"

This reverts commit 7618d13, reversing
changes made to d30d3a0.
  • Loading branch information
stromblom committed Jul 11, 2019
1 parent 7618d13 commit a5728f0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 54 deletions.
39 changes: 0 additions & 39 deletions app/data/races/nox.yml

This file was deleted.

2 changes: 0 additions & 2 deletions src/Calculators/Dominion/MilitaryCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public function getOffensivePowerMultiplier(Dominion $dominion): float
$spellCrusade = 5;
$spellKillingRage = 10;
$spellWarsong = 10;
$spellNightfall = 5;

// Gryphon Nests
$multiplier += min(
Expand All @@ -145,7 +144,6 @@ public function getOffensivePowerMultiplier(Dominion $dominion): float
'crusade' => $spellCrusade,
'killing_rage' => $spellKillingRage,
'warsong' => $spellWarsong,
'nightfall' => $spellNightfall,
]);

// Prestige
Expand Down
5 changes: 0 additions & 5 deletions src/Helpers/RaceHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ public function getRaceDescriptionHtml(Race $race): string
<p>Trolls are excellent at smashing others, especially things smaller than themselves. <em>[Urg smash puny gnome!]</em></p>
TROLL;

$descriptions['Nox'] = <<<NOX
<p>The children of the night lurk in the shadows, striking terror in even the most powerful of rulers.</p>
<p>Nox can be found in the deepest darkness where even Dark Elves won't dare to trespass.</p>
NOX;

$key = strtolower($race->name);

if (!isset($descriptions[$key])) {
Expand Down
8 changes: 0 additions & 8 deletions src/Helpers/SpellHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,6 @@ public function getRacialSelfSpells(): Collection
'duration' => 12,
'races' => collect(['Troll']),
],
[
'name' => 'Nightfall',
'description' => '+5% offensive power',
'key' => 'nightfall',
'mana_cost' => 5,
'duration' => 12,
'races' => collect(['Nox']),
],
]);
}

Expand Down

0 comments on commit a5728f0

Please sign in to comment.