We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0ea847 commit 14a80b9Copy full SHA for 14a80b9
src/libFrank/frank.c
@@ -79,7 +79,7 @@ void frank_chat(const char *input) {
79
frank_response = ARRAYRANDOM(highAngerResponses);
80
}
81
} else if (STRINC(input, "rat") && (STRINC(input, "give") || STRINC(input, "feed"))) {
82
- if (rand() % 1 == 0) {
+ if (rand() % 10 == 0) {
83
if (angerLevel - 1 > 0) {
84
angerLevel -= 1;
85
} else {
0 commit comments