fix(Core/Skills): Remove wrong skill increase for Inscription (#24173)

Co-authored-by: sudlud <sudlud@users.noreply.github.com>
This commit is contained in:
Fosoul
2026-06-13 13:46:38 +02:00
committed by GitHub
parent c5b96f65ba
commit c04698c5c1

View File

@@ -184,12 +184,7 @@ uint32 GetExplicitDiscoverySpell(uint32 spellId, Player* player)
continue;
if (item_iter->chance > roll)
{
// Update skill, not Book of Glyph Mastery
if (spellId != 64323)
player->UpdateGatherSkill(SKILL_INSCRIPTION, player->GetPureSkillValue(SKILL_INSCRIPTION), item_iter->reqSkillValue);
return item_iter->spellId;
}
roll -= item_iter->chance;
}