diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-28 19:52:12 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-28 19:52:12 +0000 |
commit | 1d5b5da76795d490b6cd64b35d0c61d19f25b5e9 (patch) | |
tree | b98e4fd138474963147a917535989e5676d5c420 /crawl-ref/source/stuff.cc | |
parent | 21361a5df873316c55c3e4e494249377149b2334 (diff) | |
download | crawl-ref-1d5b5da76795d490b6cd64b35d0c61d19f25b5e9.tar.gz crawl-ref-1d5b5da76795d490b6cd64b35d0c61d19f25b5e9.zip |
Vampire feeding changes:
* remove randomness and unify formulas for nutrition value of blood potions
and corpses, so bottling potions can no longer be used to enforce greater
nutrition: this means that draining corpses give more nutrition now
* draining duration now matches nutrition more closely (the formulas
used to be completely distinct, and quite complicated)
* decrease blood potions' nutrition again (I'd increased it in my
previous related commit), coagulated blood gives only 80% nutrition
* blood potions last a bit longer (counter 2000 -> 2500)
* healing from blood potions is impossible
* healing from corpses is only possible while they're still fresh
(i.e. won't start rotting soon, counter > 150)
* remove unrotting etc. effects, decrease healing from human corpses
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7055 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index adab2d84b7..377c772102 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -851,7 +851,7 @@ int stepdown_value(int base_value, int stepping, int first_step, return return_value; for (int this_step = first_step; this_step <= last_step; - this_step += stepping) + this_step += stepping) { if (return_value > this_step) return_value = ((return_value - this_step) / 2) + this_step; |