Page 1 of 1

Give Y/N for Walking into Steam

PostPosted: Saturday, 10th March 2018, 13:28
by Shtopit
I just walked into a cloud of scalding steam with a mummy, and lost almost all of my health. Give a Y/N prompt for walking into it, at least with rF-.

Re: Give Y/N for Walking into Vapour

PostPosted: Saturday, 10th March 2018, 21:27
by Patashu
Assuming you meant 'scalding steam'.

Looks like steam is special cased in player.cc check_moveto_cloud:

  Code:
        // Don't prompt for steam unless we're at uncomfortably low hp.
        if (ctype == CLOUD_STEAM)
        {
            int threshold = 20;
            if (player_res_steam() < 0)
                threshold = threshold * 3 / 2;
            threshold = threshold * you.time_taken / BASELINE_DELAY;
            // Do prompt if we'd lose icemail, though.
            if (you.hp > threshold && !you.has_mutation(MUT_ICEMAIL))
                return true;
        }


If I'm reading this correctly, a mummy won't get prompted for stepping in steam if they have over 30 HP.

Re: Give Y/N for Walking into Steam

PostPosted: Sunday, 11th March 2018, 11:08
by Shtopit
Yea right, I edited it with "steam".

The mechanic probably should be modified based on how much % health you can lose by walking into a steam cloud. I was in Sewers, so XP 5, and it was a hell of a hit, 50% or more health lost without a warning, with enemies in sight.

Re: Give Y/N for Walking into Steam

PostPosted: Sunday, 11th March 2018, 21:57
by Patashu
Probably doubling or tripling the threshold would give the desired effect and be a simple change.

Re: Give Y/N for Walking into Steam

PostPosted: Sunday, 11th March 2018, 22:20
by crawlnoob
I've had this happen as well, in the Sewers, with characters that were not mummies. Steam hurts BAD at low XL.

Re: Give Y/N for Walking into Steam

PostPosted: Monday, 12th March 2018, 00:25
by Rast
How many different kinds of clouds do we really need?

Re: Give Y/N for Walking into Steam

PostPosted: Monday, 12th March 2018, 15:08
by njvack
Wait, does steam check rF-? That makes no sense whatsoever. I can see fire damaging mummies more, but steam should not.

Re: Give Y/N for Walking into Steam

PostPosted: Monday, 12th March 2018, 15:27
by Shtopit
I am not sure of whether rF- has any impact on steam (rF+ does, since it makes you immune to steam). But, if it doesn't, then the problem is even more diffuse.

Re: Give Y/N for Walking into Steam

PostPosted: Monday, 12th March 2018, 18:51
by PseudoLoneWolf
Rast wrote:How many different kinds of clouds do we really need?


If we're being honest, Steam clouds are one of the more reasonable ones to have, really.

Re: Give Y/N for Walking into Steam

PostPosted: Monday, 12th March 2018, 22:15
by Patashu
njvack wrote:Wait, does steam check rF-? That makes no sense whatsoever. I can see fire damaging mummies more, but steam should not.

Steam is basically a fire cloud variant. It also does other fiery things, like melting ozo/icy envelope.

Re: Give Y/N for Walking into Steam

PostPosted: Tuesday, 13th March 2018, 14:27
by njvack
Okay, I wizmoded this. Mu gets a "The steam scalds you terribly!" message when hit by a ball of steam, but not when standing in a cloud. But that's the case for fire, too, so yeah it looks like rF- gives rSteam-.

Steam is hot, but it is not a fire variant. It doesn't cause things to combust. Mu's rF- gimmick is that they're flammable because they're dry; mummies should not have rSteam-.