mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
[Bug Fix] Disciplines should show when someone casts them. (#3901)
* [Bug] Discs should show when someone casts them. * Correction to location * requested changes * Additional fixes
This commit is contained in:
parent
2b821e50ff
commit
c36b3f030b
@ -3797,6 +3797,10 @@ bool Mob::SpellOnTarget(
|
||||
|
||||
LogSpells("Casting spell [{}] on [{}] with effective caster level [{}]", spell_id, spelltar->GetName(), caster_level);
|
||||
|
||||
if (IsClient() && (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());
|
||||
}
|
||||
|
||||
// Actual cast action - this causes the caster animation and the particles
|
||||
// around the target
|
||||
// we do this first, that way we get the particles even if the spell
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user