Core/Spell: fix SendSpellMiss requiring caster Unit
This commit is contained in:
1 parent
c889b81f2c
commit
b3c8d78fa2
5 files changed
+16
-16
No files matched your search
@@ -450,6 +450,7 @@ class TC_GAME_API WorldObject : public Object, public WorldLocation
|
||||
virtual SpellMissInfo MeleeSpellHitResult(Unit* victim, SpellInfo const* spellInfo) const;
|
||||
SpellMissInfo MagicSpellHitResult(Unit* victim, SpellInfo const* spellInfo) const;
|
||||
SpellMissInfo SpellHitResult(Unit* victim, SpellInfo const* spellInfo, bool canReflect = false) const;
|
||||
void SendSpellMiss(Unit* target, uint32 spellID, SpellMissInfo missInfo);
|
||||
|
||||
virtual uint32 GetFaction() const = 0;
|
||||
virtual void SetFaction(uint32 /*faction*/) { }
|
||||
|
||||
Reference in new issue
Block a user