From 2209a4432f70f745497507ef9815270b8e862e9a Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Mon, 13 Jan 2025 23:14:24 -0800 Subject: [PATCH] Update AgSpiderBossMessage.cpp (#1729) --- dScripts/ai/AG/AgSpiderBossMessage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dScripts/ai/AG/AgSpiderBossMessage.cpp b/dScripts/ai/AG/AgSpiderBossMessage.cpp index ea55384c..4be6ce7f 100644 --- a/dScripts/ai/AG/AgSpiderBossMessage.cpp +++ b/dScripts/ai/AG/AgSpiderBossMessage.cpp @@ -36,14 +36,14 @@ void AgSpiderBossMessage::OnCollisionPhantom(Entity* self, Entity* target) { auto box = GetBox(self); // knockback the target - auto forward = target->GetRotation().GetForwardVector(); + auto forward = self->GetRotation().GetForwardVector(); box.boxTarget = target->GetObjectID(); GameMessages::SendPlayFXEffect(target->GetObjectID(), 1378, u"create", "pushBack"); RenderComponent::PlayAnimation(target, "knockback-recovery"); forward.y += 15; forward.x *= 100; forward.z *= 100; - GameMessages::SendKnockback(target->GetObjectID(), self->GetObjectID(), self->GetObjectID(), 0, forward); + GameMessages::SendKnockback(target->GetObjectID(), LWOOBJID_EMPTY, LWOOBJID_EMPTY, 0, forward); if (box.isTouch || box.isDisplayed) return; box.boxSelf = self->GetObjectID();