Assert::IsTrue(newMonster.GetBuffs(BuffType::CURSE_OF_PAIN).size()>0,L"The first monster should have been targeted with Curse of Pain.");
Assert::IsTrue(newMonster.GetBuffs(BuffType::CURSE_OF_PAIN).size()>0,L"The first monster should have been targeted with Curse of Pain.");
Game::Update(3.f);
Game::Update(3.f);
Assert::IsTrue(newMonster.IsDead(),L"The first monster has died to Curse of Pain's tick.");
Assert::IsTrue(newMonster.IsDead(),L"The first monster has died to Curse of Pain's tick.");
@ -1046,7 +1045,6 @@ namespace EnchantTests
Assert::AreEqual(size_t(0),newMonster3.GetBuffs(BuffType::CURSE_OF_PAIN).size(),L"If a target without Curse of Pain dies, it should not spread onto other targets.");
Assert::AreEqual(size_t(0),newMonster3.GetBuffs(BuffType::CURSE_OF_PAIN).size(),L"If a target without Curse of Pain dies, it should not spread onto other targets.");
Assert::AreEqual(size_t(0),newMonster4.GetBuffs(BuffType::CURSE_OF_PAIN).size(),L"If a target without Curse of Pain dies, it should not spread onto other targets.");
Assert::AreEqual(size_t(0),newMonster4.GetBuffs(BuffType::CURSE_OF_PAIN).size(),L"If a target without Curse of Pain dies, it should not spread onto other targets.");
inlinevoidCastAbilityAtLocation(Ability&ability,constvf2d&screenLoc){//NOTE: screenLoc is the actual screen coordinates, NOT the world coordinates! You are defining the mouse position essentially.
inlinevoidCastAbilityAtLocation(Ability&ability,constvf2d&screenLoc,constCastWaitPropertycastWaitTime=CastWaitProperty::WAIT_FOR_CAST_TIME){//NOTE: screenLoc is the actual screen coordinates, NOT the world coordinates! You are defining the mouse position essentially.