mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Add buff level restrictions for pets
This commit is contained in:
@@ -738,3 +738,10 @@ bool ZoneDatabase::GetBasePetItems(int32 equipmentset, uint32 *items) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Pet::CheckSpellLevelRestriction(uint16 spell_id)
|
||||
{
|
||||
auto owner = GetOwner();
|
||||
if (owner)
|
||||
return owner->CheckSpellLevelRestriction(spell_id);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user