mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Rule] Add rule for NPC Level Based Buff Restrictions. (#2708)
* [Rule] Add rule for NPC Level Based Buff Restrictions. * Erroneous whitespace * Change prefix on log message * Added log message when GM casts
This commit is contained in:
+2
-2
@@ -735,11 +735,11 @@ bool ZoneDatabase::GetBasePetItems(int32 equipmentset, uint32 *items) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Pet::CheckSpellLevelRestriction(uint16 spell_id)
|
||||
bool Pet::CheckSpellLevelRestriction(Mob *caster, uint16 spell_id)
|
||||
{
|
||||
auto owner = GetOwner();
|
||||
if (owner)
|
||||
return owner->CheckSpellLevelRestriction(spell_id);
|
||||
return owner->CheckSpellLevelRestriction(caster, spell_id);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user