mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 17:13:47 +00:00
Compare commits
3 Commits
9dd35e78fe
...
hermensbas
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ccc17be7e1 | ||
|
|
54914d0854 | ||
|
|
dbfc8001a2 |
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -2052,8 +2052,6 @@ public:
|
||||
void OutDebugInfo() const;
|
||||
std::string GetDebugInfo() const override;
|
||||
|
||||
bool m_cannotReachTarget;
|
||||
|
||||
//----------- Public variables ----------//
|
||||
uint32 m_extraAttacks;
|
||||
DualWieldMode _dualWieldMode;
|
||||
|
||||
Reference in New Issue
Block a user