On Thu, Mar 24, 2011 at 06:30:04PM +0100, [email protected] wrote:
> commit 94a54098fec8f503cf99d15379e22d8e4f6d791d
> Author: Raphael Langella <[email protected]>
> Date: Thu Mar 24 18:03:09 2011 +0100
>
> Ashenzari: scale passive mapping density with piety.
> static void _automap_from(int x, int y, int mutated)
> {
> if (mutated)
> - magic_mapping(8 * mutated, 25, true, you.religion == GOD_ASHENZARI,
> + {
> + magic_mapping(8 * mutated,
> + you.religion == GOD_ASHENZARI ? you.piety / 4 : 25,
> + true, you.religion == GOD_ASHENZARI,
> true, true, coord_def(x,y));
> + }
> }
This is incomplete: you have to re-automap everything ever time piety
changes, including other levels. Otherwise, people will have an incentive
to run back to all levels they suspect a vault on. The mutation does it
correctly, scheduling a re-map whenever its level changes (not that
often...).
For mapping other levels, we can store the max piety you had while away, and
apply it the next time the level is loaded (including X[]).
--
1KB // Microsoft corollary to Hanlon's razor:
// Never attribute to stupidity what can be
// adequately explained by malice.
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Crawl-ref-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crawl-ref-discuss