Changeset 431
- Timestamp:
- 08/01/07 22:30:03 (1 year ago)
- Files:
-
- trunk/src/effects.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/effects.c
r421 r431 402 402 case EF_BRAWN: 403 403 { 404 if (!do_dec_stat(A_INT, TRUE)) return FALSE; 404 405 if (do_inc_stat(A_STR)) *ident = TRUE; 405 if (dec_stat(A_INT, 10, TRUE)) *ident = TRUE;406 406 return TRUE; 407 407 } … … 409 409 case EF_INTELLECT: 410 410 { 411 if (!do_dec_stat(A_CON, TRUE)) return FALSE; 411 412 if (do_inc_stat(A_INT)) *ident = TRUE; 412 if (do_dec_stat(A_CON, TRUE)) *ident = TRUE;413 413 return TRUE; 414 414 } … … 416 416 case EF_CONTEMPLATION: 417 417 { 418 if (!do_dec_stat(A_DEX, TRUE)) return FALSE; 418 419 if (do_inc_stat(A_WIS)) *ident = TRUE; 419 if (do_dec_stat(A_DEX, TRUE)) *ident = TRUE;420 420 return TRUE; 421 421 } … … 423 423 case EF_TOUGHNESS: 424 424 { 425 if (!do_dec_stat(A_CHR, TRUE)) return FALSE; 425 426 if (do_inc_stat(A_CON)) *ident = TRUE; 426 if (do_dec_stat(A_CHR, TRUE)) *ident = TRUE;427 427 return TRUE; 428 428 } … … 430 430 case EF_NIMBLENESS: 431 431 { 432 if (!do_dec_stat(A_STR, TRUE)) return FALSE; 432 433 if (do_inc_stat(A_DEX)) *ident = TRUE; 433 if (do_dec_stat(A_STR, TRUE)) *ident = TRUE;434 434 return TRUE; 435 435 } … … 437 437 case EF_PLEASING: 438 438 { 439 if (!do_dec_stat(A_WIS, TRUE)) return FALSE; 439 440 if (do_inc_stat(A_CHR)) *ident = TRUE; 440 if (do_dec_stat(A_WIS, TRUE)) *ident = TRUE;441 441 return TRUE; 442 442 }
