diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-11 09:54:17 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-11 09:54:17 +0800 |
| commit | fead58cd8261d05d9e6fc0c87d7c649c0ad1b3e1 (patch) | |
| tree | fc1441a0b279c248fb965ed525cf633887f57eb5 /data | |
| parent | 3a358884ca62ae4d0ceb79faccb91059702ba22b (diff) | |
refactor: move speed up function to Player object module
Diffstat (limited to 'data')
| -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 a52ba98..dda0fdc 100644 --- a/data/bulletData.lua +++ b/data/bulletData.lua @@ -31,7 +31,7 @@ local bulletData = { shinyheart = { damage = 80, afterShot = function () - player.speedUp(30, 10) + G.player:speedUp(30, 10) end, afterHit = function (x, y, enemyType) local stunned = enemies.getWithinRage(x, y, 100) |
