aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-12-04 15:13:20 +0100
committerShauren <shauren.trinity@gmail.com>2022-12-04 15:13:20 +0100
commite98e1283ea0034baf6be9aa2ffb386eb5582801b (patch)
treeb1dd854d88e6e049d26b208bb259cdc7d31f29f8 /src/server/scripts/Spells
parentde7c03c8385780f05530c2b3cf952a712d5f8f00 (diff)
Core: Updated to 10.0.2
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_generic.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index e2eae68c984..c64327ab7cc 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -3382,8 +3382,10 @@ class spell_gen_spirit_healer_res : public SpellScript
Player* originalCaster = GetOriginalCaster()->ToPlayer();
if (Unit* target = GetHitUnit())
{
- WorldPackets::NPC::SpiritHealerConfirm spiritHealerConfirm;
- spiritHealerConfirm.Unit = target->GetGUID();
+ WorldPackets::NPC::NPCInteractionOpenResult spiritHealerConfirm;
+ spiritHealerConfirm.Npc = target->GetGUID();
+ spiritHealerConfirm.InteractionType = PlayerInteractionType::SpiritHealer;
+ spiritHealerConfirm.Success = true;
originalCaster->SendDirectMessage(spiritHealerConfirm.Write());
}
}