Fix combination bug
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
module Dodge.Item.Amount where
|
||||
import Dodge.Data
|
||||
import Data.Maybe
|
||||
import Control.Lens
|
||||
|
||||
itStackAmount :: Item -> Int
|
||||
itStackAmount it = fromMaybe 1 $ it ^? itConsumption . itAmount
|
||||
Reference in New Issue
Block a user