Changeset 241
- Timestamp:
- 06/29/07 12:35:07 (2 years ago)
- Files:
-
- trunk/changes.txt (modified) (2 diffs)
- trunk/src/cmd5.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/changes.txt
r204 r241 6 6 must be given to Hugo Kornelis, Pete Mack, Marco K and Frank Palazzolo, 7 7 Christer Nyfalt, Leon Marrick, Andrew Doull, Kenneth Boyd, Iain McFall, 8 Kiyoshi Aman, Christophe Cavalaria, Nick McConnell, and Brendon Oliver. 8 Kiyoshi Aman, Christophe Cavalaria, Nick McConnell, Brendon Oliver, and 9 Shanoah Alkire. 9 10 10 11 Special thanks go to Antony Sidwell for setting up the new website, and … … 205 206 main.c mechanism. Thanks to Brendon Oliver for the initial code 206 207 for this. 208 - GTK port is a GTK2 port, and uses pango and cairo. (Shanoah Alkire) trunk/src/cmd5.c
r203 r241 66 66 if (p_ptr->timed[TMD_STUN] > 50) chance += 25; 67 67 else if (p_ptr->timed[TMD_STUN]) chance += 15; 68 69 /* Amnesia makes spells fail half the time */ 70 if (p_ptr->timed[TMD_AMNESIA]) chance *= 2; 68 71 69 72 /* Always a 5 percent chance of working */ … … 600 603 } 601 604 602 #if 0603 604 /* No lite */605 if (p_ptr->timed[TMD_BLIND] || no_lite())606 {607 msg_print("You cannot see!");608 return;609 }610 611 /* Confused */612 if (p_ptr->timed[TMD_CONFUSED])613 {614 msg_print("You are too confused!");615 return;616 }617 618 #endif619 620 605 /* Restrict choices to "useful" books */ 621 606 item_tester_tval = cp_ptr->spell_book; … … 906 891 } 907 892 908 /* Check for amnesia */909 else if (rand_int(2) != 0 && p_ptr->timed[TMD_AMNESIA])910 {911 /* Can't remember how */912 if (flush_failure) flush();913 msg_print("The words are meaningless; you cannot remember how to read.");914 }915 916 893 /* Process spell */ 917 894 else … … 1084 1061 } 1085 1062 1086 /* Check for amnesia */1087 else if (rand_int(2) != 0 && p_ptr->timed[TMD_AMNESIA])1088 {1089 /* Can't remember how */1090 if (flush_failure) flush();1091 msg_print("The words are meaningless; you cannot remember how to read.");1092 }1093 1094 1063 /* Success */ 1095 1064 else
