summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-03-31 23:35:32 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-04-01 00:38:18 +0200
commit7ae94216669e15b0ce8712136d7723234f6e12f5 (patch)
treef8d5b624ccff2b8b8c0bf92f5c09b8132e8f705e /crawl-ref/source/skills2.cc
parenta295f787a04197fa1b88f46850e59c34a89a1146 (diff)
downloadcrawl-ref-7ae94216669e15b0ce8712136d7723234f6e12f5.tar.gz
crawl-ref-7ae94216669e15b0ce8712136d7723234f6e12f5.zip
The Stabbing skill went to a dark alley, and, you know...
Per one of proposals, its effect is now an average of the weapon skill and Stealth. Stabbing tiers remain as before: * daggers * other short blades * long blades, spears, small club * other stuff Let's see how this works. We can always change the formulas, and at least the skill is gone.
Diffstat (limited to 'crawl-ref/source/skills2.cc')
-rw-r--r--crawl-ref/source/skills2.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc
index ae68e12c1f..36f544e6c6 100644
--- a/crawl-ref/source/skills2.cc
+++ b/crawl-ref/source/skills2.cc
@@ -86,7 +86,9 @@ static const char *skills[NUM_SKILLS][6] =
{"Armour", "Covered", "Protected", "Tortoise", "Impregnable", "Invulnerable"},
{"Dodging", "Ducker", "Nimble", "Spry", "Acrobat", "Intangible"},
{"Stealth", "Sneak", "Covert", "Unseen", "Imperceptible", "Ninja"},
+#if TAG_MAJOR_VERSION == 34
{"Stabbing", "Miscreant", "Blackguard", "Backstabber", "Cutthroat", "Politician"},
+#endif
{"Shields", "Shield-Bearer", "Hoplite", "Blocker", "Peltast", "@Adj@ Barricade"},
{"Traps", "Scout", "Disarmer", "Vigilant", "Perceptive", "Dungeon Master"},
// STR based fighters, for DEX/martial arts titles see below. Felids get their own category, too.
@@ -481,6 +483,10 @@ void calc_mp()
bool is_useless_skill(skill_type skill)
{
+#if TAG_MAJOR_VERSION == 34
+ if (skill == SK_STABBING)
+ return true;
+#endif
return species_apt(skill) == -99;
}