Add in "linear" lWorld to separate time reversable worlds
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ import Dodge.Data.World
|
||||
useC :: Cuse -> Item -> Creature -> World -> World
|
||||
useC cu = case cu of
|
||||
CDoNothing -> const $ const id
|
||||
CHeal x -> const $ \cr -> cWorld . creatures . ix (_crID cr) . crHP +~ x
|
||||
CHeal x -> const $ \cr -> cWorld . lWorld . creatures . ix (_crID cr) . crHP +~ x
|
||||
|
||||
Reference in New Issue
Block a user