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;
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.