diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-10-24 10:38:27 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-10-24 10:38:27 +0200 |
| commit | 930a08fe03a033a6bb30fb8c94a8490c4b77fe91 (patch) | |
| tree | a9788f29000c5c3e4a37a9520b50072c3c439e14 /src/server/game/Entities/DynamicObject | |
| parent | 7b6143a438f2de79cf070f7e0586b2a337726ad7 (diff) | |
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
Diffstat (limited to 'src/server/game/Entities/DynamicObject')
| -rw-r--r-- | src/server/game/Entities/DynamicObject/DynamicObject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Entities/DynamicObject/DynamicObject.h b/src/server/game/Entities/DynamicObject/DynamicObject.h index 1542280a1f6..ec81ed24fbb 100644 --- a/src/server/game/Entities/DynamicObject/DynamicObject.h +++ b/src/server/game/Entities/DynamicObject/DynamicObject.h @@ -79,6 +79,7 @@ class TC_GAME_API DynamicObject : public WorldObject, public GridObject<DynamicO uint32 GetSpellId() const { return m_dynamicObjectData->SpellID; } SpellInfo const* GetSpellInfo() const; ObjectGuid GetCasterGUID() const { return m_dynamicObjectData->Caster; } + ObjectGuid GetCreatorGUID() const override { return GetCasterGUID(); } ObjectGuid GetOwnerGUID() const override { return GetCasterGUID(); } float GetRadius() const { return m_dynamicObjectData->Radius; } |
