Degrade armoured chase crit turn ability
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
module Dodge.Creature.ArmourChase
|
module Dodge.Creature.ArmourChase
|
||||||
( armourChaseCrit
|
( armourChaseCrit
|
||||||
|
, flockArmourChaseCrit
|
||||||
) where
|
) where
|
||||||
import Dodge.Data
|
import Dodge.Data
|
||||||
import Dodge.Default
|
import Dodge.Default
|
||||||
--import Dodge.Creature.State
|
--import Dodge.Creature.State
|
||||||
import Dodge.Creature.Update
|
import Dodge.Creature.Update
|
||||||
|
import Dodge.Creature.ChaseCrit
|
||||||
--import Dodge.Creature.ChainUpdates
|
--import Dodge.Creature.ChainUpdates
|
||||||
import Dodge.Creature.ReaderUpdate
|
import Dodge.Creature.ReaderUpdate
|
||||||
import Dodge.Creature.Perception
|
import Dodge.Creature.Perception
|
||||||
@@ -18,8 +20,8 @@ import Picture
|
|||||||
import qualified Data.IntMap.Strict as IM
|
import qualified Data.IntMap.Strict as IM
|
||||||
import Control.Lens
|
import Control.Lens
|
||||||
|
|
||||||
armourChaseCrit :: Creature
|
flockArmourChaseCrit :: Creature
|
||||||
armourChaseCrit = defaultCreature
|
flockArmourChaseCrit = defaultCreature
|
||||||
{ _crUpdate = defaultImpulsive
|
{ _crUpdate = defaultImpulsive
|
||||||
[ watchUpdateStrat []
|
[ watchUpdateStrat []
|
||||||
, const doStrategyActions
|
, const doStrategyActions
|
||||||
@@ -49,3 +51,14 @@ armourChaseCrit = defaultCreature
|
|||||||
, _crGroup = ShieldGroup
|
, _crGroup = ShieldGroup
|
||||||
, _crMvType = defaultChaseMvType
|
, _crMvType = defaultChaseMvType
|
||||||
}
|
}
|
||||||
|
armourChaseCrit :: Creature
|
||||||
|
armourChaseCrit = chaseCrit
|
||||||
|
{ _crName = "armourChaseCrit"
|
||||||
|
, _crInv = IM.fromList
|
||||||
|
[(0,frontArmour)
|
||||||
|
,(1,medkit 200)
|
||||||
|
]
|
||||||
|
, _crMvType = defaultChaseMvType {_mvTurnRad = f}
|
||||||
|
}
|
||||||
|
where
|
||||||
|
f _ = 0.05
|
||||||
|
|||||||
Reference in New Issue
Block a user