summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/item_use.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 1b88f4a50d..100077b5d4 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -250,6 +250,10 @@ bool wield_weapon(bool auto_wield, int slot, bool show_weff_messages)
if (!can_wield(&you.inv[item_slot], true))
return (false);
+ // check inscriptions
+ if ( !check_warning_inscriptions(you.inv[item_slot], OPER_WIELD) )
+ return false;
+
// Go ahead and wield the weapon.
if (you.equip[EQ_WEAPON] != -1)
unwield_item(you.equip[EQ_WEAPON], show_weff_messages);
@@ -265,8 +269,7 @@ bool wield_weapon(bool auto_wield, int slot, bool show_weff_messages)
wield_warning();
// time calculations
- you.time_taken *= 5;
- you.time_taken /= 10;
+ you.time_taken /= 2;
you.wield_change = true;
you.turn_is_over = true;