Correct Fear level immunity message

This commit is contained in:
Michael Cook (mackal) 2014-01-24 01:26:47 -05:00
parent b72fe81e28
commit 0e8f7a4542
2 changed files with 2 additions and 1 deletions

View File

@ -274,6 +274,7 @@
#define GAIN_GROUP_LEADERSHIP_EXP 8788 //
#define GAIN_RAID_LEADERSHIP_EXP 8789 //
#define BUFF_MINUTES_REMAINING 8799 //%1 (%2 minutes remaining)
#define FEAR_TOO_HIGH 9035 //Your target is too high of a level for your fear spell.
#define YOU_HEAL 9068 //You have healed %1 for %2 points of damage.
#define OTHER_HIT_DOT 9072 //%1 has taken %2 damage from your %3.
#define HIT_NON_MELEE 9073 //%1 hit %2 for %3 points of non-melee damage.

View File

@ -3939,7 +3939,7 @@ bool Mob::IsImmuneToSpell(uint16 spell_id, Mob *caster)
else if(GetLevel() > spells[spell_id].max[effect_index] && spells[spell_id].max[effect_index] != 0)
{
mlog(SPELLS__RESISTS, "Level is %d, cannot be feared by this spell.", GetLevel());
caster->Message_StringID(MT_Shout, SPELL_NO_EFFECT);
caster->Message_StringID(MT_Shout, FEAR_TOO_HIGH);
return true;
}