Skip to content
Snippets Groups Projects
Commit d13eea30 authored by Hachem_Muche's avatar Hachem_Muche
Browse files

Note

parent a8d9e2ae
No related branches found
No related tags found
1 merge request!157Npc target passing fixes
......@@ -220,7 +220,7 @@ function _M:seen_by(who)
if self:hasEffect(self.EFF_VAULTED) and who and game.party:hasMember(who) then self:removeEffect(self.EFF_VAULTED, true, true) end
-- Check if we can pass target
if self.dont_pass_target then return end
if self.dont_pass_target then return end -- This means that ghosts can alert other NPC's but not vice versa ;)
if not who.ai_target then return end
if not who.ai_target.actor then return end
if not who.ai_target.actor.x then return end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment