From da953c07abb64853c94878cf2b86fc193fbfb937 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Mon, 8 Dec 2025 09:43:35 -0500 Subject: [PATCH] Core/Spells: Allow spell scripts to access other scripts attached to a spell Port From (https://github.com/TrinityCore/TrinityCore/commit/4c66c09e38ab327019f63f3c7beadb72f4647123) --- Source/Game/Spells/Spell.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index 192a4ea77..ee466a35c 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -8257,6 +8257,16 @@ namespace Game.Spells return true; } + public Script GetScript