diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-15 15:35:28 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-15 15:49:46 +0100 |
commit | ba0dc9345572f0120a622a15eb1c4ef461110b65 (patch) | |
tree | 022a199dbe803919bb4bed808062ddad2a4322fc /crawl-ref/source/item_use.cc | |
parent | ded9e45204db0430fe6f5b3c60c73ddc458fe54e (diff) | |
download | crawl-ref-ba0dc9345572f0120a622a15eb1c4ef461110b65.tar.gz crawl-ref-ba0dc9345572f0120a622a15eb1c4ef461110b65.zip |
Remove code duplication by making artifacts use SPARM_SPIRIT_SHIELD.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index e10141dad6..4bd5082d00 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -5701,16 +5701,6 @@ void use_artefact(item_def &item, bool *show_msgs, bool unmeld) if (proprt[ARTP_NOISES]) you.attribute[ATTR_NOISES] = 1; - if (proprt[ARTP_SPIRIT_SHIELD]) - { - set_mp(0, false); - mpr("You feel the spirits watch over you."); - if (you.species == SP_DEEP_DWARF) - mpr("Now linked to your health, your magic stops regenerating."); - - artefact_wpn_learn_prop(item, ARTP_SPIRIT_SHIELD); - } - if (!alreadyknown && Options.autoinscribe_artefacts) add_autoinscription(item, artefact_auto_inscription(item)); |