From 57ccb0eb3bc10dc50eef9c39266d2c758e6e4745 Mon Sep 17 00:00:00 2001 From: David Ploog Date: Sun, 11 Oct 2009 07:39:10 +0200 Subject: New carrying capacity formula; Strength worth more. New formula: CC = 200*Str + 2*body_weight Old formula: CC = 100*Str + 3500 In both cases, you get another 1000 for being airborne. body_weight is 300 (Sp), 425 (Ha, Ko), 1300 (Ce, Na, Og, Tr), 550 (else). Statue form has a positive effect on CC, lich form has a negative effect. Formula may need tweaking after some testing. --- crawl-ref/source/player.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index ac567372a5..e8181677a7 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2876,7 +2876,10 @@ int player_sust_abil(bool calc_unid) int carrying_capacity(burden_state_type bs) { - int cap = 3500 + (you.strength * 100) + (player_is_airborne() ? 1000 : 0); + int cap = (2 * you.body_weight) + (you.strength * 200) + + (player_is_airborne() ? 1000 : 0); + // We are nice to the lighter species in that strength adds absolutely + // instead of relatively to body weight. --dpeg if (bs == BS_UNENCUMBERED) return ((cap * 5) / 6); -- cgit v1.2.3-54-g00ecf