mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +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:
@@ -191,6 +191,7 @@ public:
|
||||
virtual bool DetermineSpellTargets(uint16 spell_id, Mob *&spell_target, Mob *&ae_center,
|
||||
CastAction_type &CastAction);
|
||||
virtual bool CheckFizzle(uint16 spell_id);
|
||||
virtual bool CheckSpellLevelRestriction(uint16 spell_id);
|
||||
virtual bool IsImmuneToSpell(uint16 spell_id, Mob *caster);
|
||||
virtual float GetAOERange(uint16 spell_id);
|
||||
void InterruptSpell(uint16 spellid = SPELL_UNKNOWN);
|
||||
|
||||
Reference in New Issue
Block a user