Walter's slingshot draws aggro from mobs even if they were attacking another mob. This is because the OnPreHit function(which handles the aggro disable) is set to the OnHit function instead of OnPreHit.
Something like
inst.components.projectile:SetOnPreHitFn(OnPreHit)
should work.
(A SetOnPreHitFn function will need to be defined on components/projectile.lua too)
Steps to Reproduce
1. Play Walter
2. Attack a mob agroed on another mob
3. The mob will aggro on you despite it attacking the other mob
-
5
-
2
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 accountSign in
Already have an account? Sign in here.
Sign In Now