mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Send the BEGIN_TO_GLOW message after OP_BeginCast when casting a clicky
This commit is contained in:
parent
b0d85e3558
commit
96264cb688
@ -489,6 +489,12 @@ bool Mob::DoCastSpell(uint16 spell_id, uint16 target_id, uint16 slot,
|
|||||||
safe_delete(outapp);
|
safe_delete(outapp);
|
||||||
outapp = nullptr;
|
outapp = nullptr;
|
||||||
|
|
||||||
|
if (IsClient() && slot == USE_ITEM_SPELL_SLOT &&item_slot != 0xFFFFFFFF) {
|
||||||
|
auto item = CastToClient()->GetInv().GetItem(item_slot);
|
||||||
|
if (item && item->GetItem())
|
||||||
|
Message_StringID(MT_Spells, BEGINS_TO_GLOW, item->GetItem()->Name);
|
||||||
|
}
|
||||||
|
|
||||||
if (!DoCastingChecks()) {
|
if (!DoCastingChecks()) {
|
||||||
InterruptSpell();
|
InterruptSpell();
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user