summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-10-27 01:51:10 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-10-27 01:51:10 +0200
commit38e8f2dd1293f64600e7238f94c2e6239cb5c75f (patch)
tree85371b19bce44555ae16a186c90ca3d14c3fb03c /crawl-ref/source/artefact.cc
parentd3614495655c93414127c3123959c2e922319bd4 (diff)
downloadcrawl-ref-38e8f2dd1293f64600e7238f94c2e6239cb5c75f.tar.gz
crawl-ref-38e8f2dd1293f64600e7238f94c2e6239cb5c75f.zip
Allow +Rage, *RAGE, -TELE and Contam on faerie dragon armour.
Also, make the enchantment more random.
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc13
1 files changed, 5 insertions, 8 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index c05d8a2ab5..16edea23cf 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -1918,13 +1918,10 @@ static void _make_faerie_armour(item_def &item)
continue;
}
- // These make little sense for a casting mon.
- if (artefact_wpn_property(doodad, ARTP_BERSERK)
- || artefact_wpn_property(doodad, ARTP_ANGRY)
- || artefact_wpn_property(doodad, ARTP_PREVENT_SPELLCASTING)
- || artefact_wpn_property(doodad, ARTP_CAUSE_TELEPORTATION)
- || artefact_wpn_property(doodad, ARTP_PREVENT_TELEPORTATION)
- || artefact_wpn_property(doodad, ARTP_MUTAGENIC))
+ // -CAST makes no sense on someone called "the Enchantress",
+ // +TELE is not implemented for monsters yet.
+ if (artefact_wpn_property(doodad, ARTP_PREVENT_SPELLCASTING)
+ || artefact_wpn_property(doodad, ARTP_CAUSE_TELEPORTATION))
{
continue;
}
@@ -1946,7 +1943,7 @@ static void _make_faerie_armour(item_def &item)
doodad.props[ARTEFACT_APPEAR_KEY].get_string()
= item.props[ARTEFACT_APPEAR_KEY].get_string();
item.props = doodad.props;
- item.plus = 2 + random2(5);
+ item.plus = random2(6) + random2(6) - 2;
}
static jewellery_type octoring_types[8] =