diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-10-25 02:27:23 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-10-25 02:27:23 +0100 |
commit | d9414a0dafccbe489adeb4e2c3a1a37af907eae4 (patch) | |
tree | 7cb394bef8f386ebfbe2c638baf647fbb2629747 /crawl-ref | |
parent | efcde028c2233000c6ffff472b077cc8faa545b5 (diff) | |
download | crawl-ref-d9414a0dafccbe489adeb4e2c3a1a37af907eae4.tar.gz crawl-ref-d9414a0dafccbe489adeb4e2c3a1a37af907eae4.zip |
Extend potions of resistance to same duration as might. [FR 2885026]
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index 525d8ef5e5..e0a8f1736c 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -445,10 +445,10 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known) case POT_RESISTANCE: mpr("You feel protected.", MSGCH_DURATION); - you.duration[DUR_RESIST_FIRE] += (random2(pow) + 10) / factor; - you.duration[DUR_RESIST_COLD] += (random2(pow) + 10) / factor; - you.duration[DUR_RESIST_POISON] += (random2(pow) + 10) / factor; - you.duration[DUR_INSULATION] += (random2(pow) + 10) / factor; + you.duration[DUR_RESIST_FIRE] += (random2(pow) + 35) / factor; + you.duration[DUR_RESIST_COLD] += (random2(pow) + 35) / factor; + you.duration[DUR_RESIST_POISON] += (random2(pow) + 35) / factor; + you.duration[DUR_INSULATION] += (random2(pow) + 35) / factor; // Just one point of contamination. These potions are really rare, // and contamination is nastier. |