From b3834a6fe13b5041291fc0fb62168728788e2d62 Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 18 Sep 2008 15:23:25 +0000 Subject: Fix 2117256: incorrect high score calculation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6945 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/hiscores.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index fce7eeacdf..01babe6070 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -962,7 +962,7 @@ void scorefile_entry::init() * + 0.1 * Experience above 3,000,000 * + (distinct Runes +2)^2 * 1000, winners with distinct runes >= 3 only * + value of Inventory, for winners only - * + (250,000 * distinct Runes) * (25,000/(turns/rune)), for winners only + * + (250,000 * d. runes) * (25,000/(turns/d. runes)), for winners only * */ @@ -1022,7 +1022,7 @@ void scorefile_entry::init() if (calc_item_values) // winners only { points += (250000 * num_diff_runes) - * ( 25000 * num_diff_runes / (1+you.num_turns) ); + * ((25000.0 * num_diff_runes) / (1+you.num_turns)); } // Players will have a hard time getting 1/10 of this (see XP cap): -- cgit v1.2.3-54-g00ecf