aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-06-17 19:40:43 -0700
committer1029chris <1029chris@gmail.com>2016-06-17 19:40:43 -0700
commitd6b076125753e642379127a5f63d5a63cae9e557 (patch)
tree5197b82c3bef90b4a38ff28f144d209a65378ed1
parent2d1a3d66b8e0b01d5c9b560898a7bf7f218109e2 (diff)
Fixed glitch with special attack
-rw-r--r--virus1.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/virus1.lua b/virus1.lua
index 348480d..e9c6fc8 100644
--- a/virus1.lua
+++ b/virus1.lua
@@ -150,7 +150,7 @@ function drawVirusFight1()
end
if v1.c.chat.msgs > 30 and v1.c.chat.msgs ~= 37 and v1.c.chat.msgs ~= 38 and v1.c.chat.msgs < 41 then
for i=1,4 do
- if v1.specialAbi == false then
+ if v1.specialAbi == false or v1.c.chat.msgs <= 20 then
v1.turret[i].rt = math.atan2((win[4].y+win[4].h/2 - v1.turret[i].y), (win[4].x+win[4].w/2 - v1.turret[i].x))-math.rad(90)
elseif v1.specialAbi == true and v1.turretTimer < 30 then
v1.turret[i].rt = 0