Fixed bug thing?

This commit is contained in:
lustlion
2022-01-18 20:24:49 +01:00
parent 9307369199
commit d6de26180b
5 changed files with 120 additions and 42 deletions

View File

@@ -69,9 +69,9 @@ function Kupo:Smart()
self.bow_rotation = angle
end
-- holding tight dispersion -- also affets arrows
-- holding tight dispersion -- also affects arrows
if self.bow_rotation == angle then
self.bow_rotation = self.bow_rotation + math.rad(math.random(math.abs(self.bow_frame-self.bow_aim_frames-self.bow_frames)/2))
self.bow_rotation = self.bow_rotation + math.rad(math.random(math.abs(math.floor(self.bow_frame-self.bow_aim_frames-self.bow_frames)/2)))
end
-- AIMING AI