Jump to content

Walter's slingshot draws aggro when it's not supposed to.


Hornete
  • Fixed

Walter's slingshot is supposed to not draw aggro if the mob is attacking something else, as advertised here

image.png.57a96c69a216a58766fe447fb08604aa.png

However this does not work, this is because the OnPreHit function in slingshotammo.lua is set to SetOnHitFn, which is then run again and overrided

inst.components.projectile:SetOnHitFn(OnPreHit)
inst.components.projectile:SetOnHitFn(OnHit)
--slingshotammo.lua


OnPreHit needs to be properly assigned to projectile.onprehit for the problem to be fixed.


Steps to Reproduce

1. Play Walter
2. Shoot a mob attacking something else with the slingshot
3. Notice you still aggro the mob

  • Like 2



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...