[Change] Merchants will now run away from the last attacker.
This commit is contained in:
parent
d9c8dbc449
commit
8a375a58e1
@ -34,6 +34,9 @@ function attacked(attacker)
|
||||
|
||||
-- So bravely run away!
|
||||
ai.pushtask(0, "runaway", attacker)
|
||||
else -- Runaway from the new bad guys.
|
||||
ai.poptask()
|
||||
ai.pushtask(0, "runaway", attacker)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user