summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godpassive.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-05-10 15:56:59 +0000
committerRaphael Langella <raphael.langella@gmail.com>2011-05-11 01:09:18 +0200
commit45f866c627c4f477d419a2a9df3dfd6a0678c2a5 (patch)
treebaf259b56e02fcbdc8c14fb019f72f2ac0e2a29f /crawl-ref/source/godpassive.h
parent7b1df025ced146ec6c06a4aebf302af801a980f2 (diff)
downloadcrawl-ref-45f866c627c4f477d419a2a9df3dfd6a0678c2a5.tar.gz
crawl-ref-45f866c627c4f477d419a2a9df3dfd6a0678c2a5.zip
Ashenzari skill boost.
https://crawl.develz.org/wiki/doku.php?id=dcss:brainstorm:god:ashenzari#plan_for_09 Boost skills depending on bounded parts. There's 3 level of skill boost and the formula for the bonus is: piety_rank * factor - skill_level / 4 piety_rank is capped by bondage level + 2. Factor is 1, 1.25 or 1.5 depending on bonus level. Boosted skills are: Bounded hands medium boost to weapon skill (or high for 2 handers). low boost to staves and evocations for enhancer and channeling staves. medium boost to spellcasting for other staves. medium boost to evocation for rods. low boost to shield for wearing a cursed shield. Bound armour for light armour (evp < 2) low boost to dodging and stealth. for medium armour (evp < 4) low boost to dodging and armour. for heavy armour (evp >= 4) medium boost to armour. bonus gets better if fully bounded in armour (all slot cursed). Bound jewellery boost to all magic school and evocation. Bonus is low for partial bondage and medium for full bondage. Felids can't get the full bonus since they are limit to 3 for bondage level. I think it's OK. Ash's thing is binding yourself with cursed items, Felid's thing is not using items. I don't see why the should receive the benefit without having to make the sacrifice. Penance All skills are reduced by 4.
Diffstat (limited to 'crawl-ref/source/godpassive.h')
-rw-r--r--crawl-ref/source/godpassive.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/godpassive.h b/crawl-ref/source/godpassive.h
index 6ebae6d840..f940330388 100644
--- a/crawl-ref/source/godpassive.h
+++ b/crawl-ref/source/godpassive.h
@@ -47,6 +47,7 @@ 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);
+int ash_skill_boost(skill_type sk);
+std::map<skill_type, char> ash_get_boosted_skills(eq_type type);
#endif