mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-05 20:32:17 +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:
1 parent
56ba87577b
commit
a06fe1d02e
6 files changed
+49
No files matched your search
@@ -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