summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-16 17:24:46 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-16 17:24:46 +0000
commit614cdcf0426223561bf7a58ebb999e47c366fe82 (patch)
tree69233c1ad85d5781f959a4ad07161f791d2db4bb /crawl-ref/source/cloud.h
parent761776ba7396dc3132961bf0af5add4e58a94a9e (diff)
downloadcrawl-ref-614cdcf0426223561bf7a58ebb999e47c366fe82.tar.gz
crawl-ref-614cdcf0426223561bf7a58ebb999e47c366fe82.zip
As per FR 2795134, nerf damage reduction of elemental resistances.
Damage is now reduced to 50% (level 1, unchanged), 33% (level 2, was 20%), and 20% (level 3, was 10%), respectively. This only applies to players, monster resists are unchanged. The purpose of this change is to make the mid and late game harder without unduly affecting the early game. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10554 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r--crawl-ref/source/cloud.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h
index 240ef74e77..9736788dbf 100644
--- a/crawl-ref/source/cloud.h
+++ b/crawl-ref/source/cloud.h
@@ -60,6 +60,7 @@ int steam_cloud_damage(int decay);
cloud_type beam2cloud(beam_type flavour);
beam_type cloud2beam(cloud_type flavour);
+int resist_fraction(int resist, int bonus_res = 0);
int max_cloud_damage(cloud_type cl_type, int power = -1);
void in_a_cloud(void);