mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Merge pull request #414 from hateborne/master
GM Output for Casting Blocked Spells via Logging System
This commit is contained in:
commit
02c3fd0905
@ -1939,6 +1939,12 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, uint16 slot, uint16
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IsClient() && CastToClient()->GetGM()){
|
||||||
|
if (zone->IsSpellBlocked(spell_id, glm::vec3(GetPosition()))){
|
||||||
|
Log.Out(Logs::Detail, Logs::Spells, "GM Cast Blocked Spell: %s (ID %i)", GetSpellName(spell_id), spell_id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if
|
if
|
||||||
(
|
(
|
||||||
this->IsClient() &&
|
this->IsClient() &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user