[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:
Paul Coene
2023-01-15 16:30:42 -05:00
committed by GitHub
parent 9e3539295b
commit ca0ae3cb98
6 changed files with 63 additions and 43 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ struct NPCType;
class Pet : public NPC {
public:
Pet(NPCType *type_data, Mob *owner, PetType type, uint16 spell_id, int16 power);
virtual bool CheckSpellLevelRestriction(uint16 spell_id);
virtual bool CheckSpellLevelRestriction(Mob *caster, uint16 spell_id);
};