aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-12-21 13:40:10 -0800
committer1029chris <1029chris@gmail.com>2016-12-21 13:40:10 -0800
commiteb89627cd2b304e84c22f6432131a14dc5c5c122 (patch)
tree9f8be82a002aed1785bfb6a9ed98af5f4425ba0e
parenta78afab133e6a19c8c3862474e233eeda3f9c066 (diff)
Changed antivirus health to 50
-rw-r--r--antivirus.lua2
-rw-r--r--var.lua2
2 files changed, 2 insertions, 2 deletions
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)
diff --git a/var.lua b/var.lua
index 6b04adc..660e2a5 100644
--- a/var.lua
+++ b/var.lua
@@ -95,7 +95,7 @@ function loadVar()
av.shake = 0
av.shakex = 0
av.shakey = 0
- av.health = 40
+ av.health = 50
av.dead = false
chat.status = 0
chat.profilename = "Best Friend"