summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-26 22:55:35 -0400
committerNeil Moore <neil@s-z.org>2014-07-26 22:55:35 -0400
commit421ad785ff4df1a8811fd9fd3ef56f1ab6d429e9 (patch)
treeaf029e0d02b9a5265f6699234d527506461b31c6 /crawl-ref/source/player.cc
parentebbff481bc02d783952a9eebd4f051b95f40f2c5 (diff)
downloadcrawl-ref-421ad785ff4df1a8811fd9fd3ef56f1ab6d429e9.tar.gz
crawl-ref-421ad785ff4df1a8811fd9fd3ef56f1ab6d429e9.zip
Remove base max MP adjustment.
Only the 2 MP tutorial bonus used it; combine that with the max MP decrease from self-restoration and device recharging.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 5da8c073f3..24581daa8d 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -4673,7 +4673,7 @@ int get_real_hp(bool trans, bool rotted)
int get_real_mp(bool include_items)
{
- int enp = you.experience_level + you.mp_max_adj_base;
+ int enp = you.experience_level;
enp += (you.experience_level * species_mp_modifier(you.species) + 1) / 3;
int spell_extra = you.skill(SK_SPELLCASTING, you.experience_level * 3, true) / 14
@@ -5660,7 +5660,6 @@ void player::init()
magic_points = 0;
max_magic_points = 0;
mp_max_adj = 0;
- mp_max_adj_base = 0;
stat_loss.init(0);
base_stats.init(0);