mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-29 12:32:29 +00:00
[Messages] Fix disciple message added by previous patch. (#3986)
This commit is contained in:
parent
59cbe1a152
commit
27256215b8
@ -3806,7 +3806,7 @@ bool Mob::SpellOnTarget(
|
|||||||
LogSpells("Casting spell [{}] on [{}] with effective caster level [{}]", spell_id, spelltar->GetName(), caster_level);
|
LogSpells("Casting spell [{}] on [{}] with effective caster level [{}]", spell_id, spelltar->GetName(), caster_level);
|
||||||
|
|
||||||
if (IsOfClientBotMerc() && (IsDiscipline(spell_id) || spells[spell_id].is_discipline)) {
|
if (IsOfClientBotMerc() && (IsDiscipline(spell_id) || spells[spell_id].is_discipline)) {
|
||||||
entity_list.MessageClose(this, false, 200, 0, fmt::format("{}{}", GetCleanName(), spells[spell_id].cast_on_other).c_str());
|
entity_list.MessageClose(this, false, 200, 0, fmt::format("{}{}", spelltar->GetCleanName(), spells[spell_id].cast_on_other).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actual cast action - this causes the caster animation and the particles
|
// Actual cast action - this causes the caster animation and the particles
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user