diff options
author | Neil Moore <neil@s-z.org> | 2014-05-13 14:39:26 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-05-13 14:39:26 -0400 |
commit | fd921b9b8d6767a1270f40944ab01c0ec4f047d1 (patch) | |
tree | e3935bbcef337333e3feed8a067b9cbab6a4794b /crawl-ref/source/invent.h | |
parent | b9d8caaabee5428e8441df15021f85fe17357c36 (diff) | |
download | crawl-ref-fd921b9b8d6767a1270f40944ab01c0ec4f047d1.tar.gz crawl-ref-fd921b9b8d6767a1270f40944ab01c0ec4f047d1.zip |
Improve enchant weapon selection (#8407, #8552)
Now you are not prompted for, or allowed to select, weapons which
are enchantable but not by this scroll---for example, a +9,+0 weapon
with EW_I. Take care to handle blowguns correctly: they have no +dam,
but EW_II increases their +acc.
The message "You aren't carrying any weapons that can be enchanted."
isn't quite right anymore, but I can't think of a good way to make it
more pendant-friendly without being too wordy.
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r-- | crawl-ref/source/invent.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h index 13d238062e..702c64073d 100644 --- a/crawl-ref/source/invent.h +++ b/crawl-ref/source/invent.h @@ -30,7 +30,9 @@ enum object_selector OSEL_UNCURSED_WORN_ARMOUR = -14, OSEL_UNCURSED_WORN_JEWELLERY = -15, OSEL_BRANDABLE_WEAPON = -16, - OSEL_ENCHANTABLE_WEAPON = -17, + OSEL_ENCHANTABLE_WEAPON_I = -17, + OSEL_ENCHANTABLE_WEAPON_II = -18, + OSEL_ENCHANTABLE_WEAPON_III = -19, }; #define SLOT_BARE_HANDS -2 |