mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 15:28:02 +00:00
fix(Core/Skills): Remove wrong skill increase for Inscription (#24173)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user