Race bugfixes

This commit is contained in:
Alex Kerr 2015-01-28 09:49:10 +00:00
parent be8190c3a2
commit 40f6c03067
8 changed files with 11 additions and 9 deletions

View File

@ -1,5 +1,7 @@
package OSRIC::Races;
my @races = qw/Dwarf Elf Gnome HalfElf Halfling HalfOrc Human/;
# The stat buffs/nerfs a race gives:
sub stats_boosts
{

View File

@ -1,5 +1,5 @@
package OSRIC::Race::Dwarf
use parent qw(OSRIC::Races);
package OSRIC::Race::Dwarf;
use parent qw(OSRIC::Race);
use OSRIC::Util qw/d/;
# The stat buffs/nerfs a race gives:

View File

@ -1,5 +1,5 @@
package OSRIC::Race::Elf;
use parent qw(OSRIC::Races);
use parent qw(OSRIC::Race);
use OSRIC::Util qw/d/;
# The stat buffs/nerfs a race gives:

View File

@ -1,5 +1,5 @@
package OSRIC::Race::Gnome;
use parent qw(OSRIC::Races);
use parent qw(OSRIC::Race);
use OSRIC::Util qw/d/;
# The stat buffs/nerfs a race gives:
@ -31,7 +31,7 @@ sub ages
cleric => sub { 300 + d(12, 3) },
druid => sub { 300 + d(12, 3) },
fighter => sub { 60 + d(4, 5) },
illusionist => sub { 100 + d(12, 2) }
illusionist => sub { 100 + d(12, 2) },
magicuser => sub { 100 + d(12, 2) },
paladin => sub { 60 + d(4, 5) },
ranger => sub { 60 + d(4, 5) },

View File

@ -1,5 +1,5 @@
package OSRIC::Race::HalfElf;
use parent qw(OSRIC::Races);
use parent qw(OSRIC::Race);
use OSRIC::Util qw/d/;
# The stat buffs/nerfs a race gives:

View File

@ -1,5 +1,5 @@
package OSRIC::Race::HalfOrc;
use parent qw(OSRIC::Races);
use parent qw(OSRIC::Race);
use OSRIC::Util qw/d/;
# The stat buffs/nerfs a race gives:

View File

@ -1,5 +1,5 @@
package OSRIC::Race::Halfling;
use parent qw(OSRIC::Races);
use parent qw(OSRIC::Race);
use OSRIC::Util qw/d/;
# The stat buffs/nerfs a race gives:

View File

@ -1,5 +1,5 @@
package OSRIC::Race::Human;
use parent qw(OSRIC::Races);
use parent qw(OSRIC::Race);
use OSRIC::Util qw/d/;
# The stat buffs/nerfs a race gives: