summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-21 00:34:54 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-21 00:34:54 +0000
commitb79c592eaecb4703b0aa03c5b12c502aaa284788 (patch)
tree5e6b332306fc31ecc19d4ab32ce7dd5c4d4c2d01 /crawl-ref/source/spells4.cc
parentbe12eda80897527fc40956dbf6c741fb69c31ab7 (diff)
downloadcrawl-ref-b79c592eaecb4703b0aa03c5b12c502aaa284788.tar.gz
crawl-ref-b79c592eaecb4703b0aa03c5b12c502aaa284788.zip
More Divine Shield adjustments. The maximum power is now back at 8, but
the durtion is now from 35 to 80 turns, the same as a potion of might. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4428 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index d635cef39e..1563b48d54 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -2775,12 +2775,12 @@ void cast_divine_shield()
mpr("A divine shield forms around you!");
}
- // duration of complete shield bonus up to 27 turns
+ // duration of complete shield bonus from 35 to 80 turns
you.duration[DUR_DIVINE_SHIELD]
- = 5 + (you.skills[SK_SHIELDS] + you.skills[SK_INVOCATIONS]*4)/6;
+ = 35 + (you.skills[SK_SHIELDS] + you.skills[SK_INVOCATIONS]*4)/3;
- // shield bonus up to 9
- you.attribute[ATTR_DIVINE_SHIELD] = 3 + you.skills[SK_SHIELDS]/4;
+ // shield bonus up to 8
+ you.attribute[ATTR_DIVINE_SHIELD] = 3 + you.skills[SK_SHIELDS]/5;
return;
}