From 930a08fe03a033a6bb30fb8c94a8490c4b77fe91 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 24 Oct 2023 10:38:27 +0200 Subject: Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing --- src/server/game/Entities/GameObject/GameObject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server/game/Entities/GameObject') diff --git a/src/server/game/Entities/GameObject/GameObject.h b/src/server/game/Entities/GameObject/GameObject.h index bf54c9cf2a6..9926fd82cca 100644 --- a/src/server/game/Entities/GameObject/GameObject.h +++ b/src/server/game/Entities/GameObject/GameObject.h @@ -223,6 +223,7 @@ class TC_GAME_API GameObject : public WorldObject, public GridObject bool LoadFromDB(ObjectGuid::LowType spawnId, Map* map, bool addToMap, bool = true); // arg4 is unused, only present to match the signature on Creature static bool DeleteFromDB(ObjectGuid::LowType spawnId); + ObjectGuid GetCreatorGUID() const override { return m_gameObjectData->CreatedBy; } void SetOwnerGUID(ObjectGuid owner) { // Owner already found and different than expected owner - remove object from old owner -- cgit v1.2.3