Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module defines getters for getting the complete stat of a creature, boosts included. Functions of this module are meant to be called qualified. |
Synopsis
- affectedByFear :: Bool -> Creature Core -> Bool
- affectedByTerror :: Bool -> Creature Core -> Bool
- data Place = Place {}
- mkPlace :: T Core -> Player -> Card -> Place
- attack :: Maybe Place -> Creature Core -> Damage
- bleed :: Creature Core -> Nat
- causesFear :: Creature Core -> Bool
- causesTerror :: Creature Core -> Bool
- hasDiscipline :: [Skill] -> [Item] -> Bool
- hasRampage :: Creature Core -> Bool
- hasPowerful :: [State] -> [Item] -> Bool
- isDisciplined :: Creature Core -> Bool
- isPowerful :: Creature Core -> Bool
- bleedCaused :: Creature Core -> Nat
Documentation
Where a creature is on the board
attack :: Maybe Place -> Creature Core -> Damage #
The total attack of a creature, including boosts of skills and items.
The Place
indicates where the given creature is.
causesFear :: Creature Core -> Bool #
Whether a creature causes fear
causesTerror :: Creature Core -> Bool #
hasDiscipline :: [Skill] -> [Item] -> Bool #
Core function for finding out about discipline
hasRampage :: Creature Core -> Bool #
hasPowerful :: [State] -> [Item] -> Bool #
isDisciplined :: Creature Core -> Bool #
Whether a creature has discipline
isPowerful :: Creature Core -> Bool #
bleedCaused :: Creature Core -> Nat #
The amount of bleed that a creature causes or 0
if it doesn't cause bleeding