We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 645b552 commit 0f95456Copy full SHA for 0f95456
rolls.c
@@ -441,7 +441,8 @@ cmd_face_danger(char *stat)
441
442
CURCHAR_CHECK();
443
444
- if (strlen(stat) == 0) {
+ ret = get_args_from_cmd(stat, stat, &ival[1]);
445
+ if (ret >= 10) {
446
info:
447
printf("Please specify the stat you'd like to use in this move\n\n");
448
printf("edge\t- Act with speed, agility, or precision\n");
@@ -451,7 +452,8 @@ cmd_face_danger(char *stat)
451
452
printf("wits\t- Act with expertise, insight, or observation\n\n");
453
printf("Example: facedanger iron\n");
454
return;
- }
455
+ } else if (ret <= -20)
456
+ return;
457
458
ival[0] = return_char_stat(stat,
459
STAT_EDGE|STAT_HEART|STAT_IRON|STAT_WITS|STAT_SHADOW);
0 commit comments