Skip to content

Commit

Permalink
Balanced gold
Browse files Browse the repository at this point in the history
  • Loading branch information
Piterson25 committed Nov 11, 2022
1 parent aefb387 commit 4f6314c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Defnight/Monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,40 +48,40 @@ Monster::Monster(const float& x, const float& y, sf::Texture& texture, sf::Textu
this->attackSpeed = 2;
this->HP = static_cast<unsigned>(3 * difficulty_mod * wave_mod);
this->speed = 2;
this->gold = 1;
this->gold = static_cast<unsigned>(1 * wave_mod);
this->XP = static_cast<unsigned>(5 * wave_mod);
}
else if (this->name == "spider") {
this->attack = static_cast<unsigned>(2 * difficulty_mod * wave_mod);
this->attackSpeed = 3;
this->HP = static_cast<unsigned>(7 * difficulty_mod * wave_mod);
this->speed = 3;
this->gold = 2;
this->gold = static_cast<unsigned>(2 * wave_mod);
this->XP = static_cast<unsigned>(10 * wave_mod);
}
else if (this->name == "orc") {
this->attack = static_cast<unsigned>(3 * difficulty_mod * wave_mod);
this->attackSpeed = 2;
this->HP = static_cast<unsigned>(12 * difficulty_mod * wave_mod);
this->speed = 2;
this->gold = 3;
this->gold = static_cast<unsigned>(3 * wave_mod);
this->XP = static_cast<unsigned>(17 * wave_mod);
}
else if (this->name == "cyclope") {
this->attack = static_cast<unsigned>(4 * difficulty_mod * wave_mod);
this->attackSpeed = 1;
this->HP = static_cast<unsigned>(18 * difficulty_mod * wave_mod);
this->speed = 1;
this->gold = 4;
this->gold = static_cast<unsigned>(4 * wave_mod);
this->XP = static_cast<unsigned>(26 * wave_mod);
}
else if (this->name == "minotaur") {
this->attack = static_cast<unsigned>(7 * difficulty_mod * wave_mod);
this->attackSpeed = 3;
this->HP = static_cast<unsigned>(69 * difficulty_mod * wave_mod);
this->speed = 1;
this->gold = 25;
this->XP = static_cast<unsigned>(100 * wave_mod);
this->gold = static_cast<unsigned>(25 * wave_mod);
this->XP = static_cast<unsigned>(200 * wave_mod);
}
}

Expand Down

0 comments on commit 4f6314c

Please sign in to comment.