ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/gods.C
(Generate patch)

Comparing deliantra/server/server/gods.C (file contents):
Revision 1.21 by root, Sat May 12 18:14:48 2007 UTC vs.
Revision 1.22 by root, Fri May 18 19:46:22 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines