Compare commits

..

No commits in common. "44030f041c2e46212a6abaec5210001fb5260c2c" and "67010cc154fc8f091decd5dedb63a437f7778702" have entirely different histories.

View File

@ -2741,7 +2741,7 @@ function mob_class:do_states(dtime)
p = {x = p1.x, y = p1.y, z = p1.z}
end
if p then self:yaw_to_pos(p) end
self:yaw_to_pos(p)
-- move towards enemy if beyond mob reach
if dist > (self.reach + (self.reach_ext or 0)) then
@ -2785,7 +2785,7 @@ function mob_class:do_states(dtime)
self:set_velocity(0)
if self.timer > 1 and p then
if self.timer > 1 then
-- no custom attack or custom attack returns true to continue
if not self.custom_attack