1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-25 18:20:20 +01:00

change runaway from 3 to 5 seconds

This commit is contained in:
TenPlus1 2016-09-05 20:02:26 +01:00
parent 834bb75153
commit 5158bf3123

View File

@ -1390,8 +1390,8 @@ local do_states = function(self, dtime)
self.runaway_timer = self.runaway_timer + 1 self.runaway_timer = self.runaway_timer + 1
-- stop after 3 seconds or when at cliff -- stop after 5 seconds or when at cliff
if self.runaway_timer > 3 if self.runaway_timer > 5
or is_at_cliff(self) then or is_at_cliff(self) then
self.runaway_timer = 0 self.runaway_timer = 0
set_velocity(self, 0) set_velocity(self, 0)