Jump to content

Grabbing Vine will "remember" Wormwood


KXWl1
  • DLC VERSION - IMPORTANT!: Hamlet Fixed

When wormwood attacks a Grabbing Vine, it will be hostile to him permanently. This happens to other mobs too.

local function OnAttacked(inst, data)
	inst.components.combat:SetTarget(data.attacker)
	inst.components.combat:ShareTarget(data.attacker, 30, function(dude) return dude:HasTag("frog") and not dude.components.health:IsDead() end, 5)
end

inst:ListenForEvent("attacked", OnAttacked)

 


Steps to Reproduce

1. play as Wormwood. c_spawn("grabbing_vine")

2. attack grabbing_vine, and go far away from it

3. wait for sometime, go near the mentioned grabbing_vine

4. Find that grabbing_vine will still target wormwood.




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...