From eb89627cd2b304e84c22f6432131a14dc5c5c122 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Wed, 21 Dec 2016 13:40:10 -0800 Subject: Changed antivirus health to 50 --- antivirus.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'antivirus.lua') diff --git a/antivirus.lua b/antivirus.lua index b619ade..05d4286 100644 --- a/antivirus.lua +++ b/antivirus.lua @@ -54,7 +54,7 @@ function drawAntivirusFight() love.graphics.draw(antivirus.body, win[4].x+138/2+99+av.shakex, win[4].y+5+av.shakey, 0, win[4].s, win[4].s, 80) drawDownBox(win[4].x+138/2+79-2+av.shakex, win[4].y+93-4+11+av.shakey, 44, 17, 2) love.graphics.setColor(455-(av.health*2.5)*4.55,(av.health*2.5)*2.55,20) - love.graphics.rectangle("fill", win[4].x+138/2+79-1+av.shakex, win[4].y+93-3+11+av.shakey, av.health*1.05, 15) + love.graphics.rectangle("fill", win[4].x+138/2+79-1+av.shakex, win[4].y+93-3+11+av.shakey, av.health/1.19047619048, 15) love.graphics.setColor(colors.font.dark) love.graphics.setFont(pixeloperators) love.graphics.print("HP:" .. av.health, win[4].x+138/2+79+2+av.shakex, win[4].y+93-4+11+av.shakey) -- cgit