mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-07-31 01:41:14 -04:00
fix NPC selection and cast errors
This commit is contained in:
@@ -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
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user