anchor.diff:  					hpbar = new(src)
   					hpbar.alpha = 0
   
  -				hpbar.Set(perc)
  -
  +				var/s = round((maxhp - hp) / (maxhp / amount))
  +				if(s >= 1)
  +					amount -= s
  +
  +					var/px = rand(-2,2)
  +					var/py = rand(-2,0)
  +					if(px == 0 && py == 0) py = -1
  +					var/obj/items/wood_log/w = new(locate(x + px, y + py, z))
  +					w.stack = s
  +					w.UpdateDisplay()
  +					w.pixel_y = 64 - py*32
  +					w.pixel_x = -px*32
  +					w.transform = turn(matrix(), 90 * pick(1, -1))
  +					w.layer = 6
  +					animate(w, pixel_x = 0, pixel_y = 0, transform = null, time = 20, easing = BOUNCE_EASING)
  +					animate(layer = 3, time = 0)
   				if(hp <= 0)
   					layer = 2
   					var/obj/items/wood_log/w = new(loc)
  -					w.stack = rand(1,9)
  +					w.stack = amount + rand(3,6)
   					w.UpdateDisplay()
   					w.pixel_y = 64
   					w.transform = turn(matrix(), 90 * pick(1, -1))
  
positive.code: 						m.Turn(90)
  						animate(src, pixel_x = 0, pixel_y = -64, transform = m, time = 50, easing = BOUNCE_EASING)
  					density = 0
  					sleep(51)
  					animate(hpbar, alpha = 0, time = 5)
  					sleep(6)
  					hpbar.loc = null
  					sleep(50)
  					animate(src, alpha = 0, time = 10)
  					sleep(11)
  					loc = null
  					respawn()
  
  				else
  					animate(src, pixel_x = pixel_x-1, time = 1)
  					animate(pixel_x = pixel_x+1, time = 2)
  					animate(pixel_x = pixel_x, time = 1)
  
negative.code: 			t.flyblock = 2
  
  		var/perc = hp / maxhp
  		if(perc < 1)
  			hpbar = new(src)
  			hpbar.Set(perc)
  
  