fix order of magnitude error in XP logic

This commit is contained in:
Kistaro Windrider 2025-01-12 21:47:11 -08:00
parent 175099d778
commit e2be11a2da
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -494,8 +494,8 @@ function ship_m:die()
if xp > 0x0.01f3 then -- dec 499
-- spawn a huge gem with all
-- overage XP, min 100
spawn_xp_at(cx, cy, 0, xp-0x0.18f)
xp = 0x0.18f -- dec 399
spawn_xp_at(cx, cy, 0, xp-0x0.018f)
xp = 0x0.018f -- dec 399
z += 1
end
-- 100, 25, 5, 1