mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 12:42:25 +00:00
Fix for insufficient spell mana logging
This commit is contained in:
parent
a8d3ba41a7
commit
5d138891d8
@ -455,7 +455,7 @@ bool Mob::DoCastSpell(uint16 spell_id, uint16 target_id, CastingSlot slot,
|
|||||||
{
|
{
|
||||||
mana_cost = 0;
|
mana_cost = 0;
|
||||||
} else {
|
} else {
|
||||||
Log(Logs::Detail, Logs::Spells, "Spell Error not enough mana spell=%d mymana=%d cost=%d\n", GetName(), spell_id, my_curmana, mana_cost);
|
Log(Logs::Detail, Logs::Spells, "Spell Error not enough mana spell=%d mymana=%d cost=%d\n", spell_id, my_curmana, mana_cost);
|
||||||
if(IsClient()) {
|
if(IsClient()) {
|
||||||
//clients produce messages... npcs should not for this case
|
//clients produce messages... npcs should not for this case
|
||||||
Message_StringID(13, INSUFFICIENT_MANA);
|
Message_StringID(13, INSUFFICIENT_MANA);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user