fix order of magnitude error in XP logic
This commit is contained in:
parent
175099d778
commit
e2be11a2da
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user