… | |
… | |
348 | |
348 | |
349 | /* May switch Gods, but its random chance based on our current level |
349 | /* May switch Gods, but its random chance based on our current level |
350 | * note it gets harder to swap gods the higher we get |
350 | * note it gets harder to swap gods the higher we get |
351 | */ |
351 | */ |
352 | if ((angry == 1) && !(random_roll (0, skill->level, pl, PREFER_LOW))) |
352 | if ((angry == 1) && !(random_roll (0, skill->level, pl, PREFER_LOW))) |
353 | { |
|
|
354 | become_follower (pl, &altar->other_arch->clone); |
353 | become_follower (pl, &altar->other_arch->clone); |
355 | } |
|
|
356 | else |
354 | else |
357 | { |
355 | { |
358 | /* toss this player off the altar. He can try again. */ |
356 | /* toss this player off the altar. He can try again. */ |
359 | new_draw_info (NDI_UNIQUE | NDI_NAVY, 0, pl, "A divine force pushes you off the altar."); |
357 | new_draw_info (NDI_UNIQUE | NDI_NAVY, 0, pl, "A divine force pushes you off the altar."); |
|
|
358 | pl->speed_left = 0.f; |
360 | move_player (pl, absdir (pl->facing + 4)); /* back him off the way he came. */ |
359 | move_player (pl, absdir (pl->facing + 4)); /* back him off the way he came. */ |
361 | } |
360 | } |
362 | } |
361 | } |
363 | } |
362 | } |
364 | |
363 | |