osric-cgi/lib/OSRIC/Class/Fighter.pm

24 lines
423 B
Perl
Raw Normal View History

2015-01-22 07:39:45 -05:00
package OSRIC::Class::Fighter;
use parent qw(OSRIC::Class);
2015-01-07 11:13:22 -05:00
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 200 }
2015-01-28 04:34:27 -05:00
sub get_gold { ((d(6, 3) + 2) * 10) } # (3d6 + 2) * 10
2015-01-07 11:13:22 -05:00
# Minimum score requirements:
sub minimum_scores
{
{
str => 9,
dex => 6,
con => 7,
int => 3,
wis => 6,
cha => 6,
}
}
1;