aboutsummaryrefslogtreecommitdiff
path: root/virus2.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-12-21 14:42:19 -0800
committer1029chris <1029chris@gmail.com>2016-12-21 14:42:19 -0800
commit681a12e0142f219b5eab651a6808db0dddd1203d (patch)
treeb7e0eacd89d0e4f71f1ae1cd4cf827ed93284551 /virus2.lua
parenteb89627cd2b304e84c22f6432131a14dc5c5c122 (diff)
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
Diffstat (limited to 'virus2.lua')
-rw-r--r--virus2.lua14
1 files changed, 7 insertions, 7 deletions
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