summaryrefslogtreecommitdiff |
diff options
-rw-r--r-- | src/battlemap/src/Struct/Statistics.elm | 5 | ||||
-rw-r--r-- | src/battlemap/src/Update/HandleAnimationEnded.elm | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/battlemap/src/Struct/Statistics.elm b/src/battlemap/src/Struct/Statistics.elm index de18466..5c1a08f 100644 --- a/src/battlemap/src/Struct/Statistics.elm +++ b/src/battlemap/src/Struct/Statistics.elm @@ -136,10 +136,7 @@ new att wp_set ar = (gentle_squared_growth_f (average [mind, constitution, constitution, speed, speed, speed]) ), - max_health = - (gentle_squared_growth_f - (average [mind, constitution, constitution]) - ), + max_health = (gentle_squared_growth constitution), dodges = (clamp 0 diff --git a/src/battlemap/src/Update/HandleAnimationEnded.elm b/src/battlemap/src/Update/HandleAnimationEnded.elm index 741e9bd..60011ac 100644 --- a/src/battlemap/src/Update/HandleAnimationEnded.elm +++ b/src/battlemap/src/Update/HandleAnimationEnded.elm @@ -126,6 +126,6 @@ apply_to model = new_model = (Struct.Model.apply_animator_step model) in case new_model.animator of - Nothing -> (model, Cmd.none) + Nothing -> (new_model, Cmd.none) (Just animator) -> (prepare_next_animation new_model animator) |