From d6b076125753e642379127a5f63d5a63cae9e557 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Fri, 17 Jun 2016 19:40:43 -0700 Subject: Fixed glitch with special attack --- virus1.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit