local function on_collide(inst, data) local other_boat_physics = data.other.components.boatphysics if other_boat_physics == nil then return end local hit_velocity = math.abs(other_boat_physics:GetVelocity() * data.hit_dot_velocity) / other_boat_physics.max_velocity if hit_velocity > TUNING.WATERPLANT.ANGERING_HIT_VELOCITY then find_and_attack_nearby_player(inst) end end
Sea Weeds will look for and attack a nearby player when bumped by a boat, even if the boat is an enemy pirate boat. Would it not make sense to attack the mobs controlling the boat?
If this is currently intentional, then please take this as feedback, I think it'd be pretty funny to let a pirate boat crash themselves into sea weeds and watch as those dim-witted fools get obliterated,
Steps to Reproduce
1. Get an enemy pirate boat to crash into a Sea Weed
2. The Sea Weed attacks nearby players, not the monkies on the boat.
-
1
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