Core/Scripts: Rename recent GameObject spell overloads to fix warnings

Port From (https://github.com/TrinityCore/TrinityCore/commit/a4fcfbb3afe388f90725734b0180ad8322277b7d)
This commit is contained in:
hondacrx
2021-12-01 23:05:27 -05:00
parent 694bda573b
commit 8fa7feb9da
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -388,11 +388,11 @@ namespace Game.AI
// Called when hit by a spell
public virtual void SpellHit(Unit caster, SpellInfo spellInfo) { }
public virtual void SpellHit(GameObject caster, SpellInfo spellInfo) { }
public virtual void SpellHitByGameObject(GameObject caster, SpellInfo spellInfo) { }
// Called when spell hits a target
public virtual void SpellHitTarget(Unit target, SpellInfo spellInfo) { }
public virtual void SpellHitTarget(GameObject target, SpellInfo spellInfo) { }
public virtual void SpellHitTargetGameObject(GameObject target, SpellInfo spellInfo) { }
public virtual bool IsEscorted() { return false; }