Add bangcone

This commit is contained in:
2021-12-04 18:52:03 +00:00
parent cb670bdfd8
commit cbf344e73e
6 changed files with 221 additions and 30 deletions
+1 -6
View File
@@ -4,6 +4,7 @@ module Dodge.Item.Attachment
, changeFuse
) where
import Dodge.Data
import Dodge.ChainEffect
import Dodge.Default
import Control.Lens hiding ((|>),(<|))
@@ -38,12 +39,6 @@ decCharMode = itAttachment . itCharMode %~ cycleR
cycleR (xs :|> x) = x <| xs
cycleR xs = xs
type ChainEffect =
(Item -> Creature -> World -> World)
-> Item
-> Creature
-> World
-> World
charFiringStratI
:: [(Char, ChainEffect)] -- ^ Different firing effects for different characters
-> ChainEffect