From b79ebf1d407fe3c75292664eb132a64eb85c2522 Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Wed, 30 Mar 2022 18:25:32 -0700 Subject: [PATCH 1/2] Corrected faction for Buff Station --- dScripts/AgSurvivalBuffStation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dScripts/AgSurvivalBuffStation.cpp b/dScripts/AgSurvivalBuffStation.cpp index 01fe3976..31db8797 100644 --- a/dScripts/AgSurvivalBuffStation.cpp +++ b/dScripts/AgSurvivalBuffStation.cpp @@ -9,7 +9,7 @@ void AgSurvivalBuffStation::OnRebuildComplete(Entity* self, Entity* target) { auto destroyableComponent = self->GetComponent(); // We set the faction to 6 so that the buff station sees players as friendly targets to buff - if (destroyableComponent != nullptr) destroyableComponent->SetFaction(6); + if (destroyableComponent != nullptr) destroyableComponent->SetFaction(1); auto skillComponent = self->GetComponent(); From 041dc8256f76319917c3a90495468f8f7df003c0 Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Wed, 30 Mar 2022 18:34:26 -0700 Subject: [PATCH 2/2] comment --- dScripts/AgSurvivalBuffStation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dScripts/AgSurvivalBuffStation.cpp b/dScripts/AgSurvivalBuffStation.cpp index 31db8797..86a2f653 100644 --- a/dScripts/AgSurvivalBuffStation.cpp +++ b/dScripts/AgSurvivalBuffStation.cpp @@ -8,7 +8,7 @@ void AgSurvivalBuffStation::OnRebuildComplete(Entity* self, Entity* target) { auto destroyableComponent = self->GetComponent(); - // We set the faction to 6 so that the buff station sees players as friendly targets to buff + // We set the faction to 1 so that the buff station sees players as friendly targets to buff if (destroyableComponent != nullptr) destroyableComponent->SetFaction(1); auto skillComponent = self->GetComponent();