mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Merge pull request #403 from noudess/master
Fix proc messages for undead proc against non-undead.
This commit is contained in:
commit
1f56c7476e
@ -1480,7 +1480,10 @@ bool Mob::DetermineSpellTargets(uint16 spell_id, Mob *&spell_target, Mob *&ae_ce
|
||||
{
|
||||
//invalid target
|
||||
Log.Out(Logs::Detail, Logs::Spells, "Spell %d canceled: invalid target of body type %d (undead)", spell_id, mob_body);
|
||||
if(!spell_target)
|
||||
Message_StringID(13,SPELL_NEED_TAR);
|
||||
else
|
||||
Message_StringID(13,CANNOT_AFFECT_NPC);
|
||||
return false;
|
||||
}
|
||||
CastAction = SingleTarget;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user