mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Spells: Removed gathering failure chance from herbalism and mining nodes (#28227)
This commit is contained in:
@@ -5666,7 +5666,8 @@ SpellCastResult Spell::CheckCast(bool strict, uint32* param1 /*= nullptr*/, uint
|
||||
|
||||
// chance for fail at lockpicking attempt
|
||||
// second check prevent fail at rechecks
|
||||
if (skillId != SKILL_NONE && (!m_selfContainer || ((*m_selfContainer) != this)))
|
||||
// herbalism and mining cannot fail as of patch 3.1.0
|
||||
if (skillId != SKILL_NONE && skillId != SKILL_HERBALISM && skillId != SKILL_MINING && (!m_selfContainer || ((*m_selfContainer) != this)))
|
||||
{
|
||||
bool canFailAtMax = skillId == SKILL_LOCKPICKING;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user