osric-cgi/lib/OSRIC/Class.pm
2015-02-24 03:18:56 +00:00

32 lines
546 B
Perl

package OSRIC::Class;
# A list of the classes:
my @CLASSES = qw/Assassin Cleric Druid Fighter Illusionist MagicUser Paladin
Ranger Thief/;
# 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 { 0 }
sub get_gold { 0 }
# The starting HP of the class:
sub get_hp { 0 }
# Minimum score requirements:
sub minimum_scores
{
{
str => 0,
dex => 0,
con => 0,
int => 0,
wis => 0,
cha => 0,
}
}
# The allowed alignments
sub get_alignments { }
1;