diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-03 21:23:25 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-03 21:23:25 +0800 |
| commit | 8377e1c69abb44eb36e0f5ec26bbdbb47809f16d (patch) | |
| tree | 45e0484cd21a4b4639035f2715ebb4c9f948851a /data/bulletData.lua | |
| parent | 9bbd7bc63d46147e0c382825f0c7a71ddabd38e3 (diff) | |
fix: big heart cannot split into 4 sometimes
Diffstat (limited to 'data/bulletData.lua')
| -rw-r--r-- | data/bulletData.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
