From 681a12e0142f219b5eab651a6808db0dddd1203d Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Wed, 21 Dec 2016 14:42:19 -0800 Subject: Raised shotguns higher, smaller screens will benefit from this. Also allowed antivirus to go up higher during second fight Also, increased delay in one attack to make it a bit easier --- virus2.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'virus2.lua') diff --git a/virus2.lua b/virus2.lua index 28b6139..ce2726c 100644 --- a/virus2.lua +++ b/virus2.lua @@ -812,7 +812,7 @@ function v2FirstAttack() for i=1,math.floor(sys.w/130)+1 do if i <= hole+2 and i >= hole then else - table.insert(v2.sg, 1, {x=i*140-50,y=200,r=math.rad(90),d=0.5,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) + table.insert(v2.sg, 1, {x=i*140-50,y=125*sys.sh,r=math.rad(90),d=0.5,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) end end if v2.c.cockgun:isPlaying() == true then @@ -843,7 +843,7 @@ function v2ShotgunRowAttack() for i=1,math.floor(sys.w/130)+1 do if i <= hole+2 and i >= hole then else - table.insert(v2.sg, 1, {x=i*140-50,y=200,r=math.rad(90),d=0.5,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) + table.insert(v2.sg, 1, {x=i*140-50,y=125*sys.sh,r=math.rad(90),d=0.5,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) end end if v2.c.cockgun:isPlaying() == true then @@ -965,10 +965,10 @@ function assholeShotgunAttack() local hole = math.random(1,math.floor(sys.w/130)-2) for i=1,math.floor(sys.w/130)+1 do if i <= hole+2 and i >= hole then - table.insert(v2.sg, 1, {x=i*140-50,y=150,r=math.rad(90),d=1.2,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) + table.insert(v2.sg, 1, {x=i*140-50,y=100,r=math.rad(90),d=1.2,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) table.insert(v2.sg, 1, {x=i*140-50+25,y=0,r=math.rad(90),d=2.2,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) else - table.insert(v2.sg, 1, {x=i*140-50,y=150,r=math.rad(90),d=0.5,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) + table.insert(v2.sg, 1, {x=i*140-50,y=100,r=math.rad(90),d=0.5,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) table.insert(v2.sg, 1, {x=i*140-50+25,y=0,r=math.rad(90),d=1.7,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) end end @@ -1041,13 +1041,13 @@ function v2ShotgunFinalRandomRowAttack() end function v2ShotgunFinalRowAttack() if v2.attackTimer <= 0 then - v2.attackTimer = 1.4 + v2.attackTimer = 1.7 local hole = math.random(1,math.floor(sys.w/130)-2) for i=1,math.floor(sys.w/130)+1 do if i <= hole+2 and i >= hole then - table.insert(v2.sg, 1, {x=i*140-50,y=50,r=math.rad(90),d=1.2,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) + table.insert(v2.sg, 1, {x=i*140-50,y=0,r=math.rad(90),d=1.4,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) else - table.insert(v2.sg, 1, {x=i*140-50,y=150,r=math.rad(90),d=0.6,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) + table.insert(v2.sg, 1, {x=i*140-50,y=100,r=math.rad(90),d=0.7,b=1,t=0,op=0,ra=math.rad(45),rem=false,remp=false,f=false}) end end if v2.c.cockgun:isPlaying() == true then -- cgit