summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-07 19:24:34 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-07 19:24:34 +0000
commit7351857a9a93080e85cc0fc6a87a5571cb1dadcc (patch)
tree8a07ebcbbccd8b726492c258e6df6d8721311368 /crawl-ref/source/effects.cc
parenta670276b9dd4d243f68ad28cacf71f979ae5984c (diff)
downloadcrawl-ref-7351857a9a93080e85cc0fc6a87a5571cb1dadcc.tar.gz
crawl-ref-7351857a9a93080e85cc0fc6a87a5571cb1dadcc.zip
Removed DISRUPTION brand and added DRAGON_SLAYING.
The old disruption code should probably be moved over to holy wrath but I'm unsure whether I should replace the current one. I'm talking about the "You are blasted by holy energy!" bit in the commit below. For now, I've simply removed it. All dragon slaying currently does is what orc slaying does, only against dragons. So no additional effects, resistances or otherwise. Both slaying brands are still randomly created (though dragon only for polearms), I haven't changed anything about that. Also removed DISTORTION effect upon wielding such a weapon. Xom is still pleased about seeing you in this conundrum, but not as much as when you were blasted right away. Changed distortion description to explicitly mentioning its effects. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3219 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index c27afc653b..fba2ff8e6f 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1511,8 +1511,7 @@ bool acquirement(object_class_type class_wanted, int agent,
case SP_VAMPIRE:
{
int brand = get_weapon_brand( thing );
- if (brand == SPWPN_HOLY_WRATH
- || brand == SPWPN_DISRUPTION)
+ if (brand == SPWPN_HOLY_WRATH)
{
if (!is_random_artefact( thing ))
{
@@ -1522,8 +1521,7 @@ bool acquirement(object_class_type class_wanted, int agent,
else
{
// keep resetting seed until it's good:
- for (; brand == SPWPN_HOLY_WRATH
- || brand == SPWPN_DISRUPTION;
+ for (; brand == SPWPN_HOLY_WRATH;
brand = get_weapon_brand(thing))
{
make_item_randart( thing );