Permalink
Browse files

balance multi-hero mode a bit better

  • Loading branch information...
1 parent 6c92870 commit d1449bd0d83c114371e0c7efe620ccebaec07b29 @Mikolaj Mikolaj committed Mar 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Monster.hs
View
@@ -15,7 +15,7 @@ heroHP :: Config.CP -> Int
heroHP config =
let b = Config.get config "heroes" "baseHp"
k = Config.get config "heroes" "extraHeroes"
- in b `div` (k + 1)
+ in k + b `div` (k + 1)
-- | Initial hero.
defaultHero :: Int -> Loc -> Int -> Hero

0 comments on commit d1449bd

Please sign in to comment.