From 0e8f7a4542823a459fc11ca995ee6981b49da306 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Fri, 24 Jan 2014 01:26:47 -0500 Subject: [PATCH] Correct Fear level immunity message --- zone/StringIDs.h | 1 + zone/spells.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/StringIDs.h b/zone/StringIDs.h index c65115151..1cb1a5f91 100644 --- a/zone/StringIDs.h +++ b/zone/StringIDs.h @@ -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. diff --git a/zone/spells.cpp b/zone/spells.cpp index 5086c74a6..b34076b5f 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -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; }