summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-12-22 09:47:44 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2013-12-22 09:47:44 -0700
commitbfa08eb324f32ff3d3259f5f3b972c7c5aa41381 (patch)
tree4271a6de999c2a553af1f417775d5ede6f8dc444 /crawl-ref/source/skills2.cc
parentabf99355d8b96edcde7a36537e0808295c3240a2 (diff)
downloadcrawl-ref-bfa08eb324f32ff3d3259f5f3b972c7c5aa41381.tar.gz
crawl-ref-bfa08eb324f32ff3d3259f5f3b972c7c5aa41381.zip
Bring back "Blademaster" title specifically for elves.
You can now once again be a deep elf blademaster in addition to a deep elf master archer (Short Blades 27 and Bows 27, respectively).
Diffstat (limited to 'crawl-ref/source/skills2.cc')
-rw-r--r--crawl-ref/source/skills2.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc
index 81108fd982..3e5a7905c0 100644
--- a/crawl-ref/source/skills2.cc
+++ b/crawl-ref/source/skills2.cc
@@ -345,6 +345,15 @@ string skill_title_by_rank(skill_type best_skill, uint8_t skill_rank,
break;
+ case SK_SHORT_BLADES:
+ if (player_genus(GENPC_ELVEN, static_cast<species_type>(species))
+ && skill_rank == 5)
+ {
+ result = "Blademaster";
+ break;
+ }
+ break;
+
case SK_INVOCATIONS:
if (god != GOD_NO_GOD)
result = god_title((god_type)god, (species_type)species, piety);