From 8377e1c69abb44eb36e0f5ec26bbdbb47809f16d Mon Sep 17 00:00:00 2001 From: Eltrac Date: Mon, 3 Mar 2025 21:23:25 +0800 Subject: fix: big heart cannot split into 4 sometimes --- data/bulletData.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/bulletData.lua b/data/bulletData.lua index 69f0d3f..7a5005b 100644 --- a/data/bulletData.lua +++ b/data/bulletData.lua @@ -5,7 +5,7 @@ local bulletData = { end, afterHit = function (x, y, enemyType) local w, h = love.graphics.getWidth(), love.graphics.getHeight() - local r = enemyData[enemyType].size + 10 + local r = enemyData[enemyType].size + 20 -- split heart and shoot at 4 different angle if math.random(2) == 1 then -- cgit v1.2.3