Skip to content

Commit

Permalink
Formalize base profile for fighter types
Browse files Browse the repository at this point in the history
  • Loading branch information
mwunsch committed Oct 19, 2016
1 parent 4b73f3a commit cf12f71
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions src/Model.elm
Expand Up @@ -120,8 +120,8 @@ type alias Characteristics =
}


averageFighterProfile : Characteristics
averageFighterProfile =
ganger : Characteristics
ganger =
{ move = 4
, weaponSkill = 3
, ballisticSkill = 3
Expand All @@ -134,14 +134,38 @@ averageFighterProfile =
}


leader : Characteristics
leader =
{ ganger
| weaponSkill = 4
, ballisticSkill = 4
, initiative = 4
, leadership = 8
}


heavy : Characteristics
heavy =
ganger


juve : Characteristics
juve =
{ ganger
| weaponSkill = 2
, ballisticSkill = 2
, leadership = 6
}


init : Model
init =
{ profile = averageFighterProfile
{ profile = ganger
, position = Tabletop.offTable
, hidden = False
, pinned = False
, injury = Nothing
, remainingMove = averageFighterProfile.move
, remainingMove = ganger.move
, selected = False
, id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
, fighterType = Ganger
Expand Down

0 comments on commit cf12f71

Please sign in to comment.