summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godpassive.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-03-24 15:48:06 +0100
committerRaphael Langella <raphael.langella@gmail.com>2011-03-24 18:24:48 +0100
commitbdb70b7b5e00509415db6b7539134480edcba44a (patch)
tree85c83f9cc8a9c3b50ed243ebf2a683698ed8e80a /crawl-ref/source/godpassive.h
parent7832d4d99ca3966bd9d96ff860489b0f0a22b22a (diff)
downloadcrawl-ref-bdb70b7b5e00509415db6b7539134480edcba44a.tar.gz
crawl-ref-bdb70b7b5e00509415db6b7539134480edcba44a.zip
New Ashenzari passive skill boost.
For each bounded part, one corresponding skill is boosted by piety_rank - 2. Skills are still capped at 27. Bound Hands: If wielding a weapon, boost the corresponding weapon skill. If wielding a staff or a rod, boost evocations, except for staves of power, conjuration, enchantment, energy and wizardry. Those ones don't use evoc, so we boost spellcasting instead (doesn't count for MP and spell slots). Bound Armour: Boost armour or dodging, whichever is higher. Bound jewellery: Boost highest spell school skill. Skill level comparison breaks tie by choosing the first skill to reach the level. It's the same rule as for selecting the character's title.
Diffstat (limited to 'crawl-ref/source/godpassive.h')
-rw-r--r--crawl-ref/source/godpassive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/godpassive.h b/crawl-ref/source/godpassive.h
index 60359e8a47..9e5dd74af7 100644
--- a/crawl-ref/source/godpassive.h
+++ b/crawl-ref/source/godpassive.h
@@ -45,5 +45,6 @@ void ash_id_inventory();
void ash_id_monster_equipment(monster* mon);
int ash_detect_portals(bool all);
monster_type ash_monster_tier(const monster *mon);
+int ash_skill_boost(skill_type sk);
#endif