diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-01 12:29:07 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-01 12:29:07 +0000 |
commit | f5e97453a4ac3af452849dd8b3b429ecc8c7389d (patch) | |
tree | ae4ebfa3f583fde4b04738b120e0575f65b45353 /crawl-ref/source/itemname.cc | |
parent | 04f5058cac8e12d3b85834bda4589239932f371a (diff) | |
download | crawl-ref-f5e97453a4ac3af452849dd8b3b429ecc8c7389d.tar.gz crawl-ref-f5e97453a4ac3af452849dd8b3b429ecc8c7389d.zip |
Added shields of reflection, though they're not randomly generated and have no
valuation is shopping.cc. It currently only reflects missiles that are blocked
with the shield. They could also reflect the brand effects of blocked melee
weapons, but I'm not sure if that's a good idea.
drop_item and the item to be dropped have been moved from fire_beam()'s
parameters into the bolt structure, along with the beam's remaining range.
Seems to work fine, but it might still lead to some buggyness.
The game now distinguishes between killing yourself by hitting yourself with a
beam bounced off a wall versus other forms of self targeting.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7705 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index feb61f56cd..89a6d3c251 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -338,6 +338,7 @@ static const char* armour_ego_name( special_armour_type sparm, bool terse ) case SPARM_POSITIVE_ENERGY: return "positive energy"; case SPARM_ARCHMAGI: return "the Archmagi"; case SPARM_PRESERVATION: return "preservation"; + case SPARM_REFLECTION: return "reflection"; default: return "bugginess"; } } @@ -363,6 +364,7 @@ static const char* armour_ego_name( special_armour_type sparm, bool terse ) case SPARM_POSITIVE_ENERGY: return " {rN+}"; case SPARM_ARCHMAGI: return " {Archmagi}"; case SPARM_PRESERVATION: return " {rCorr, Cons}"; + case SPARM_REFLECTION: return " {rflct}"; default: return " {buggy}"; } } |