trap.MonsterHit(newMonster,1);//Simulate 1 mark stack on the monster to trigger the bleed.
Assert::AreEqual("Trapper.Ability 2.Marked Target Bleed"_f[1],newMonster.GetBuffs(BuffType::OVER_TIME)[0].duration,L"Bleed duration should be 10 seconds by default.");
}
TEST_METHOD(LingeringScentEnchantCheck){
testKey->bHeld=true;//Force the key to be held down for testing purposes.
trap.MonsterHit(newMonster,1);//Simulate 1 mark stack on the monster to trigger the bleed.
Assert::AreEqual("Trapper.Ability 2.Marked Target Bleed"_f[1]+"Lingering Scent"_ENC["BLEED EXTRA DURATION"],newMonster.GetBuffs(BuffType::OVER_TIME)[0].duration,L"Bleed duration should be 10 seconds by default.");
if(game->GetPlayer()->HasEnchant("Lingering Scent"))bleedDuration+="Lingering Scent"_ENC["BLEED EXTRA DURATION"];
if(markStacksBeforeHit>0){
constuint8_tresetStackCount{uint8_t("Trapper.Ability 2.Marked Target Stack Count Reset"_I+1U)};//Add an additional stack because we know the target hit is about to lose one stack.