summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-20 16:16:46 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-20 16:16:46 +0000
commitc284f775353140ed3949204d5bdd4d4dc803b32c (patch)
tree15445ebe16793c72baa40b629764276b1b25c88d /crawl-ref/source/spells4.cc
parentd69ece598f372438d1d41eb41ea44d3d552531bc (diff)
downloadcrawl-ref-c284f775353140ed3949204d5bdd4d4dc803b32c.tar.gz
crawl-ref-c284f775353140ed3949204d5bdd4d4dc803b32c.zip
Improve TSO's divine shield a bit. Now, the bonus goes up as far as 9
instead of 8, and it can last as long as 27 turns instead of 18. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4413 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 6347edfcf4..d635cef39e 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 18 turns
+ // duration of complete shield bonus up to 27 turns
you.duration[DUR_DIVINE_SHIELD]
- = 5 + (you.skills[SK_SHIELDS] + you.skills[SK_INVOCATIONS]*2)/6;
+ = 5 + (you.skills[SK_SHIELDS] + you.skills[SK_INVOCATIONS]*4)/6;
- // shield bonus up to 8
- you.attribute[ATTR_DIVINE_SHIELD] = 3 + you.skills[SK_SHIELDS]/5;
+ // shield bonus up to 9
+ you.attribute[ATTR_DIVINE_SHIELD] = 3 + you.skills[SK_SHIELDS]/4;
return;
}