Add z level to energy balls
This commit is contained in:
@@ -29,7 +29,7 @@ updateExpBarrel ps cr w
|
||||
& flip (foldl' f) ps
|
||||
| otherwise =
|
||||
w
|
||||
& makeExplosionAt (cr ^. crPos) 0
|
||||
& makeExplosionAt ((cr ^. crPos) `v2z` 20) 0
|
||||
& cWorld . lWorld . creatures . at (_crID cr) .~ Nothing
|
||||
where
|
||||
f w' p = makeSpark NormalSpark (p + normalizeV p + cr ^. crPos) (argV p) w'
|
||||
|
||||
Reference in New Issue
Block a user