Feather fall and gravity attacks

General discussion about the game. Pull up a stool and tell us your tale!
Post Reply
Fink
Ancient MultiHued Dragon
Posts: 614
Joined: Tue 20.01.2004, 13:55

Feather fall and gravity attacks

Post by Fink » Wed 04.07.2007, 12:30

I always was under the impression that feather fall does *not* protect against gravity attacks, and that this belief was just an old wives tale. But I noticed this in spell1.c:

Code: Select all

            /* Gravity -- stun plus slowness plus teleport */
            case GF_GRAVITY:
            if (fuzzy) msg_print(Ind, "You are hit by something strange!");
            msg_print(Ind, "Gravity warps around you.");
            teleport_player(Ind, 5);
            (void)set_slow(Ind, p_ptr->slow + rand_int(4) + 4);
            if (!p_ptr->resist_sound)
            {
                  int k = (randint((dam > 90) ? 35 : (dam / 3 + 5)));
                  (void)set_stun(Ind, p_ptr->stun + k);
            }
            /* Feather fall lets us resist gravity */
            if (p_ptr->feather_fall)
            {
                  dam *= 6; dam /= (randint(6) + 6);
            }
            take_hit(Ind, dam, killer);
            break;
So what's the story there?

Also, interesting to note that this is yet another case where res sound is useful: the anti stun deal there. Blows my mind how many things can stun you that res sound protects against.

Berendol
Evil Iggy
Posts: 868
Joined: Mon 11.11.2002, 19:13
Location: Loot Pile
Contact:

Re: Feather fall and gravity attacks

Post by Berendol » Wed 04.07.2007, 17:46

It works out pretty nicely that feather falling makes gravity attacks less effective, I think. You basically are affected less by gravity due to feather falling.

Old wives' tales can be true in this game...

We could use a reversed version of the ElementsOfMagic document in the Library. Anyone care to add a section there, or make a new one?
By appreciation, we make excellence in others our own property. (Voltaire)

Post Reply