mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 09:26:36 +00:00
Implemented buff level restrictions
Higher level buffs can't be cast on lower level toons. The formula was based on information found here: http://samanna.net/eq.general/buffs.shtml This behavior is controlled by the rule Spells:BuffLevelRestrictions which defaults to true.
This commit is contained in:
@@ -482,6 +482,7 @@ public:
|
||||
int32 GetDotFocus(uint16 spell_id, int32 value);
|
||||
int32 GetActDoTDamage(uint16 spell_id, int32 value);
|
||||
virtual bool CheckFizzle(uint16 spell_id);
|
||||
virtual bool CheckSpellLevelRestriction(uint16 spell_id);
|
||||
virtual int GetCurrentBuffSlots() const;
|
||||
virtual int GetCurrentSongSlots() const;
|
||||
virtual int GetCurrentDiscSlots() const { return 1; }
|
||||
|
||||
Reference in New Issue
Block a user