fix(Core/Misc): Revert commits causing massive delays (#10408)

* this reverts commit (674b168add)

* this reverts commit (b085ee61eb)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10407
This commit is contained in:
Kitzunu
2022-01-28 22:45:47 +01:00
committed by GitHub
parent 586699c2d0
commit 8f249a3d84
2 changed files with 0 additions and 6 deletions

View File

@@ -977,9 +977,6 @@ uint32 Unit::DealDamage(Unit* attacker, Unit* victim, uint32 damage, CleanDamage
//if (attacker && victim->GetTypeId() == TYPEID_PLAYER && victim != attacker)
//victim->ToPlayer()->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_TOTAL_DAMAGE_RECEIVED, health); // pussywizard: optimization
//Pussywarlock Elite MDic - Unit death not showing full spell animation.
//This delay of 400ms provides that opportunity for it to not be nerfed.
std::this_thread::sleep_for(400ms);
Unit::Kill(attacker, victim, durabilityLoss, cleanDamage ? cleanDamage->attackType : BASE_ATTACK, spellProto);
}
else