4

I have mutation resistance 1 and a potion of gain strength. The latter technically adds a mutation. Logic says it shouldn't work, but it did.

Was I just lucky or gain stat potions work regardless of mutation resistance?

1 Answer 1

4

You were lucky, but not that lucky (2/3 chance of success).

Mutation resistance 1 (and mutation resistance 2) grant you a 33% chance of resisting mutations. Mutation resistance 3 grants you a 100% chance of resisting mutations.

Below is the relevant source code:

if (you.mutation[MUT_MUTATION_RESISTANCE]
    && !force_mutation
    && (you.mutation[MUT_MUTATION_RESISTANCE] == 3 || !one_chance_in(3)))
{
    if (failMsg)
        mpr("You feel odd for a moment.");

    return (false);
}
3
  • 1
    bah, viewing the source code to the game is cheating! :) Commented Oct 23, 2010 at 21:17
  • Frankly, I think cheating is the only way to win in Crawl. :(
    – au revoir
    Commented Oct 23, 2010 at 21:53
  • 3
    @JeffAtwood On the contrary, Crawl is designed so that reading the source code doesn't give you much of an advantage. It's explicitly not cheating. Commented Aug 13, 2011 at 23:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .