When the player attacks Grabbing Vine, the frog_poison from nearby lily pond will target player. Prefab file grabbing_vine line (34-37) :
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
And line 173:
inst:ListenForEvent("attacked", OnAttacked)
Steps to Reproduce
1. c_spawn('grabbing_vine'), c_spawn('frog_poison')
2. c_give('spear'), attack grabbing_vine.
3. Find that frog_poison will now target player. Totally wrong.
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 accountSign in
Already have an account? Sign in here.
Sign In Now