fix NPC selection and cast errors

This commit is contained in:
Kelsi
2026-07-19 17:48:36 -07:00
parent 0123173e90
commit e4acdee419
4 changed files with 42 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
#include <catch_amalgamated.hpp>
#include "game/spell_classification.hpp"
#include "game/spell_defines.hpp"
#include <string>
#include <unordered_map>
@@ -35,6 +36,11 @@ private:
} // namespace
TEST_CASE("DONT_REPORT cast failures remain player-facing", "[spell][failure]") {
REQUIRE(std::string(wowee::game::getSpellCastResultString(27)) ==
"You can't do that right now");
}
// ---------------------------------------------------------------------------
// Range classification
// ---------------------------------------------------------------------------