Quest failures only impact party members

This commit is contained in:
John R. Dennison 2021-04-15 06:52:06 +00:00
parent 6c39ca2717
commit 35b3fd35aa

View File

@ -1958,7 +1958,8 @@ sub questpencheck {
"and to tend downwards with great weight and ". "and to tend downwards with great weight and ".
"pressure towards hell. Therefore have you drawn ". "pressure towards hell. Therefore have you drawn ".
"yourselves 15 steps closer to that gaping maw.")); "yourselves 15 steps closer to that gaping maw."));
for $player (grep { $rps{$_}{online} } keys %rps) { # for $player (grep { $rps{$_}{online} } keys %rps) {
for $player (@{$quest{questers}}) {
my $gain = int(15 * ($opts{rppenstep}**$rps{$player}{level})); my $gain = int(15 * ($opts{rppenstep}**$rps{$player}{level}));
$rps{$player}{pen_quest} += $gain; $rps{$player}{pen_quest} += $gain;
$rps{$player}{next} += $gain; $rps{$player}{next} += $gain;