diff --git a/Adventures in Lestoria Tests/EnchantTests.cpp b/Adventures in Lestoria Tests/EnchantTests.cpp index d7327799..5beca15d 100644 --- a/Adventures in Lestoria Tests/EnchantTests.cpp +++ b/Adventures in Lestoria Tests/EnchantTests.cpp @@ -387,13 +387,13 @@ namespace EnchantTests testGame->OnUserUpdate(3.5f); player->Hurt(5,player->OnUpperLevel(),player->GetZ()); player->ConsumeMana(10); - player->GetRightClickAbility().cooldown=player->GetAbility1().cooldown=player->GetAbility2().cooldown=player->GetAbility3().cooldown=player->GetAbility4().cooldown=0.4f; + player->GetRightClickAbility().cooldown=player->GetAbility1().cooldown=player->GetAbility2().cooldown=player->GetAbility3().cooldown=player->GetAbility4().cooldown=1.5f; for(int i:std::ranges::iota_view(0,2)){ - testGame->SetElapsedTime(0.001f); - testGame->OnUserUpdate(0.001f); + testGame->SetElapsedTime(0.5f); + testGame->OnUserUpdate(0.5f); } Assert::AreEqual(98,player->GetHealth(),L"Player should have healed for 3 health from contacting the soul."); - Assert::AreEqual(92,player->GetMana(),L"Player should have gained 2 mana from contacting the soul."); + Assert::AreEqual(97,player->GetMana(),L"Player should have gained 2 mana from contacting the soul."); Assert::AreEqual(0.f,player->GetRightClickAbility().cooldown,L"Player's ability cooldowns should reduce from contacting the soul."); Assert::AreEqual(0.f,player->GetAbility1().cooldown,L"Player's ability cooldowns should reduce from contacting the soul."); Assert::AreEqual(0.f,player->GetAbility2().cooldown,L"Player's ability cooldowns should reduce from contacting the soul."); diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 25854b57..f58cbb5c 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 2 #define VERSION_PATCH 3 -#define VERSION_BUILD 10966 +#define VERSION_BUILD 10969 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index f4a32aeb..dd378088 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ