Core/Spells: implement reputation requirements for spells (mostly used in guild spells such as Guild Page)
This commit is contained in:
1 parent
e936684e78
commit
a57e27e6d3
3 files changed
+9
No files matched your search
@@ -967,6 +967,8 @@ SpellInfo::SpellInfo(SpellEntry const* spellEntry, SpellEffectEntry const** effe
|
||||
SpellCastingRequirementsEntry const* _castreq = GetSpellCastingRequirements();
|
||||
RequiresSpellFocus = _castreq ? _castreq->RequiresSpellFocus : 0;
|
||||
FacingCasterFlags = _castreq ? SpellFacingCasterFlags(_castreq->FacingCasterFlags) : SpellFacingCasterFlags::None;
|
||||
MinFactionId = _castreq ? _castreq->MinFactionID : 0;
|
||||
MinReputation = _castreq ? _castreq->MinReputation : 0;
|
||||
AreaGroupId = _castreq ? _castreq->RequiredAreasID : -1;
|
||||
|
||||
// SpellCategoriesEntry
|
||||
|
||||
Reference in new issue
Block a user