2015-01-22 07:39:45 -05:00
|
|
|
package OSRIC::Class;
|
|
|
|
|
|
|
|
# A list of the classes:
|
|
|
|
my @CLASSES = qw/Assassin Cleric Druid Fighter Illusionist MagicUser Paladin
|
|
|
|
Ranger Thief/;
|
2015-01-07 11:13:22 -05:00
|
|
|
|
|
|
|
# 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 }
|
|
|
|
|
2015-02-10 11:07:42 -05:00
|
|
|
# The starting HP of the class:
|
|
|
|
sub get_hp { 0 }
|
|
|
|
|
2015-01-07 11:13:22 -05:00
|
|
|
# Minimum score requirements:
|
|
|
|
sub minimum_scores
|
|
|
|
{
|
|
|
|
{
|
|
|
|
str => 0,
|
|
|
|
dex => 0,
|
|
|
|
con => 0,
|
|
|
|
int => 0,
|
|
|
|
wis => 0,
|
|
|
|
cha => 0,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-23 22:18:56 -05:00
|
|
|
# The allowed alignments
|
|
|
|
sub get_alignments { }
|
|
|
|
|
2015-01-07 11:13:22 -05:00
|
|
|
1;
|