diff --git a/doc/fixes35.0 b/doc/fixes35.0 index 42f5f9b10..5a8d683a2 100644 --- a/doc/fixes35.0 +++ b/doc/fixes35.0 @@ -288,6 +288,7 @@ worm teeth and crysknives have become stackable improved container interface acid can destroy iron bars OPTIONS=playmode:normal|explore|debug to choose mode without command-line +score bonus for ascending is reduced or denied for changing alignment Platform- and/or Interface-Specific New Features diff --git a/src/end.c b/src/end.c index 98bbe545a..f85a36d5f 100644 --- a/src/end.c +++ b/src/end.c @@ -753,7 +753,15 @@ die: if (deepest > 20) tmp += 1000L * (long)((deepest > 30) ? 10 : deepest - 20); nowrap_add(u.urexp, tmp); - if (how == ASCENDED) nowrap_add(u.urexp, u.urexp); + + /* ascension gives a score bonus iff offering to original deity */ + if (how == ASCENDED && u.ualign.type == u.ualignbase[A_ORIGINAL]) { + /* retaining original alignment: score *= 2; + converting, then using helm-of-OA to switch back: *= 1.5 */ + tmp = (u.ualignbase[A_CURRENT] == u.ualignbase[A_ORIGINAL]) ? + u.urexp : (u.urexp / 2L); + nowrap_add(u.urexp, tmp); + } } if (bones_ok) {