Core/Spell: fix SendSpellMiss requiring caster Unit
Port From (https://github.com/TrinityCore/TrinityCore/commit/60ff73eeba93c7f97abff0eeb504cb4b5ff8a6cd)
This commit is contained in:
@@ -2103,14 +2103,6 @@ namespace Game.Entities
|
||||
|
||||
SendCombatLogMessage(data);
|
||||
}
|
||||
public void SendSpellMiss(Unit target, uint spellID, SpellMissInfo missInfo)
|
||||
{
|
||||
SpellMissLog spellMissLog = new();
|
||||
spellMissLog.SpellID = spellID;
|
||||
spellMissLog.Caster = GetGUID();
|
||||
spellMissLog.Entries.Add(new SpellLogMissEntry(target.GetGUID(), (byte)missInfo));
|
||||
SendMessageToSet(spellMissLog, true);
|
||||
}
|
||||
|
||||
void SendSpellDamageResist(Unit target, uint spellId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user