Make ResistSpell aware of the level_override nerf

This commit is contained in:
Michael Cook (mackal)
2015-05-29 14:39:09 -04:00
parent a41fd122bc
commit 0348c0817d
2 changed files with 17 additions and 15 deletions
+2 -1
View File
@@ -211,7 +211,8 @@ public:
virtual int32 GetActSpellDuration(uint16 spell_id, int32 duration);
virtual int32 GetActSpellCasttime(uint16 spell_id, int32 casttime);
float ResistSpell(uint8 resist_type, uint16 spell_id, Mob *caster, bool use_resist_override = false,
int resist_override = 0, bool CharismaCheck = false, bool CharmTick = false, bool IsRoot = false);
int resist_override = 0, bool CharismaCheck = false, bool CharmTick = false, bool IsRoot = false,
int level_override = -1);
int ResistPhysical(int level_diff, uint8 caster_level);
uint16 GetSpecializeSkillValue(uint16 spell_id) const;
void SendSpellBarDisable();