Assert::AreEqual("Ranger.Right Click Ability.RetreatTime"_F+"Stealthy Retreat"_ENC["INVULNERABILITY INCREASE"],player->GetIframeTime(),L"Ranger's retreat iframe time is much greater.");
}
TEST_METHOD(PoisonousArrowCheck){
game->ChangePlayerClass(RANGER);
player=game->GetPlayer();
Assert::AreEqual(false,player->PoisonArrowAutoAttackReady(),L"Poison arrow auto attack should not be ready immediately.");
constvf2dGetFacingDirVector()const;//Returns a normalized vector based on the facing direction of the character. Ex. {0,-1} for north and {1,0} for east.
constboolPoisonArrowAutoAttackReady()const;//NOTE: Also checks to make sure we have the enchant built-in...
private:
inthp="Warrior.BaseHealth"_I;
intmana="Player.BaseMana"_I;
@ -384,6 +386,7 @@ private:
std::unordered_set<std::string>enchantList;
voidOnAbilityUse(constAbility&ability);//Callback when an ability successfully is used and has gone on cooldown.