Commit d881a443fbf1f87d4cd7acfba5afd2cb6768617f

Authored by Chris Davidson
1 parent cba08a59

Rot worms now always target the closest enemy

... ... @@ -66,7 +66,7 @@ carrionworm = function(self, target, duration, x, y)
66 66 desc = [[A worm spawned from a damaged horror. Destroying it may have consequences.]],
67 67 autolevel = "none",
68 68 ai = "summoned", ai_real = "tactical",
69   - ai_state = { ai_move="move_complex", talent_in=1, ally_compassion=10 },
  69 + ai_state = { ai_move="move_complex", talent_in=1, ally_compassion=10, ai_target="target_closest", },
70 70 ai_tactic = resolvers.tactic"melee",
71 71 stats = { str=10, dex=15, mag=3, con=3 },
72 72 level_range = {1, self.level}, exp_worth = 0,
... ...