diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-22 03:40:22 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-22 03:40:22 +0000 |
commit | eff015ae7d0253abd240981b17ddf27008d1accd (patch) | |
tree | 18cec5a3fb880a66e7a98b8701eaf36af9270292 /crawl-ref/source/item_use.h | |
parent | 47af3ed3cb6d78f36392830c352c0172f5a51776 (diff) | |
download | crawl-ref-eff015ae7d0253abd240981b17ddf27008d1accd.tar.gz crawl-ref-eff015ae7d0253abd240981b17ddf27008d1accd.zip |
Add a blessing to improve AC by enchanting armor or shields by one or
two points, or at least uncursing them (5% chance, to discourage
killings for armor; the probability of healing has been dropped to 90%).
In the process, split out and generalize the code to enchant armor to
not be so player-specific; now, handle_enchant_armour() contains the
player-specific portion, and enchant_armour() contains the rest.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3798 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r-- | crawl-ref/source/item_use.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h index 64d33e00e2..1c79a93ecc 100644 --- a/crawl-ref/source/item_use.h +++ b/crawl-ref/source/item_use.h @@ -162,6 +162,7 @@ bool puton_item(int slot, bool prompt_finger = true); bool enchant_weapon( enchant_stat_type which_stat, bool quiet = false, int wpn = -1 ); +bool enchant_armour( int &ac_change, bool quiet, item_def &arm ); bool throw_it(bolt &pbolt, int throw_2, bool teleport=false, int acc_bonus=0, dist *target = NULL); |