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