Core/Chat: Allow incorrect spell/skill language assignments to mirror client behavior

Port From (https://github.com/TrinityCore/TrinityCore/commit/14098b28b39bc9d1ea17d18a7ecd3dd610f29cdc)
This commit is contained in:
hondacrx
2021-05-03 22:15:02 -04:00
parent 89633000d1
commit cbb22d291e
10 changed files with 89 additions and 132 deletions
-10
View File
@@ -1850,16 +1850,6 @@ namespace Game.DataStorage
{
return _skillLineAbilitiesBySkillupSkill.LookupByKey(skillId);
}
public SkillRaceClassInfoRecord GetAvailableSkillRaceClassInfo(uint skill)
{
var bounds = _skillRaceClassInfoBySkill.LookupByKey(skill);
foreach (var record in bounds)
if (record.Availability == 1)
return record;
return null;
}
public SkillRaceClassInfoRecord GetSkillRaceClassInfo(uint skill, Race race, Class class_)
{