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:
@@ -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_)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user