Add Read/Show instance for Creature
This commit is contained in:
@@ -3,6 +3,7 @@ module Dodge.Creature.ArmourChase
|
||||
, flockArmourChaseCrit
|
||||
) where
|
||||
import Dodge.Data
|
||||
import Dodge.Data.FloatFunction
|
||||
import Dodge.Default
|
||||
import Dodge.Creature.ChaseCrit
|
||||
import Dodge.Item.Equipment
|
||||
@@ -38,9 +39,8 @@ armourChaseCrit = chaseCrit
|
||||
[(0,frontArmour)
|
||||
,(1,medkit 200)
|
||||
]
|
||||
, _crMvType = defaultChaseMvType {_mvTurnRad = f}
|
||||
, _crMvType = defaultChaseMvType {_mvTurnRad = FloatConst 0.05}
|
||||
}
|
||||
& crEquipment . at OnChest ?~ 0
|
||||
& crInvEquipped . at 0 ?~ OnChest
|
||||
where
|
||||
f _ = 0.05
|
||||
|
||||
Reference in New Issue
Block a user