3 Commits

Author SHA1 Message Date
bashermens
ccc17be7e1 Legacy/dead code 2026-01-09 01:13:14 +01:00
bashermens
54914d0854 Merge pull request #141 from hermensbas/fix/hotfix_till_core_merge
[HOTFIX] Wrong class/race learning throw skill
2026-01-09 00:51:39 +01:00
bash
dbfc8001a2 wrong class/race learning throw skill 2026-01-09 00:19:31 +01:00
2 changed files with 4 additions and 2 deletions

View File

@@ -12346,6 +12346,10 @@ bool Player::IsSpellFitByClassAndRace(uint32 spell_id) const
if (_spell_idx->second->ClassMask && (_spell_idx->second->ClassMask & classmask) == 0)
continue;
// skip wrong class and race skill saved in SkillRaceClassInfo.dbc
if (!GetSkillRaceClassInfo(_spell_idx->second->SkillLine, getRace(), getClass()))
continue;
return true;
}

View File

@@ -2052,8 +2052,6 @@ public:
void OutDebugInfo() const;
std::string GetDebugInfo() const override;
bool m_cannotReachTarget;
//----------- Public variables ----------//
uint32 m_extraAttacks;
DualWieldMode _dualWieldMode;