Race bugfixes
This commit is contained in:
parent
be8190c3a2
commit
40f6c03067
@ -1,5 +1,7 @@
|
|||||||
package OSRIC::Races;
|
package OSRIC::Races;
|
||||||
|
|
||||||
|
my @races = qw/Dwarf Elf Gnome HalfElf Halfling HalfOrc Human/;
|
||||||
|
|
||||||
# The stat buffs/nerfs a race gives:
|
# The stat buffs/nerfs a race gives:
|
||||||
sub stats_boosts
|
sub stats_boosts
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Race::Dwarf
|
package OSRIC::Race::Dwarf;
|
||||||
use parent qw(OSRIC::Races);
|
use parent qw(OSRIC::Race);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# The stat buffs/nerfs a race gives:
|
# The stat buffs/nerfs a race gives:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Race::Elf;
|
package OSRIC::Race::Elf;
|
||||||
use parent qw(OSRIC::Races);
|
use parent qw(OSRIC::Race);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# The stat buffs/nerfs a race gives:
|
# The stat buffs/nerfs a race gives:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Race::Gnome;
|
package OSRIC::Race::Gnome;
|
||||||
use parent qw(OSRIC::Races);
|
use parent qw(OSRIC::Race);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# The stat buffs/nerfs a race gives:
|
# The stat buffs/nerfs a race gives:
|
||||||
@ -31,7 +31,7 @@ sub ages
|
|||||||
cleric => sub { 300 + d(12, 3) },
|
cleric => sub { 300 + d(12, 3) },
|
||||||
druid => sub { 300 + d(12, 3) },
|
druid => sub { 300 + d(12, 3) },
|
||||||
fighter => sub { 60 + d(4, 5) },
|
fighter => sub { 60 + d(4, 5) },
|
||||||
illusionist => sub { 100 + d(12, 2) }
|
illusionist => sub { 100 + d(12, 2) },
|
||||||
magicuser => sub { 100 + d(12, 2) },
|
magicuser => sub { 100 + d(12, 2) },
|
||||||
paladin => sub { 60 + d(4, 5) },
|
paladin => sub { 60 + d(4, 5) },
|
||||||
ranger => sub { 60 + d(4, 5) },
|
ranger => sub { 60 + d(4, 5) },
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Race::HalfElf;
|
package OSRIC::Race::HalfElf;
|
||||||
use parent qw(OSRIC::Races);
|
use parent qw(OSRIC::Race);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# The stat buffs/nerfs a race gives:
|
# The stat buffs/nerfs a race gives:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Race::HalfOrc;
|
package OSRIC::Race::HalfOrc;
|
||||||
use parent qw(OSRIC::Races);
|
use parent qw(OSRIC::Race);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# The stat buffs/nerfs a race gives:
|
# The stat buffs/nerfs a race gives:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Race::Halfling;
|
package OSRIC::Race::Halfling;
|
||||||
use parent qw(OSRIC::Races);
|
use parent qw(OSRIC::Race);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# The stat buffs/nerfs a race gives:
|
# The stat buffs/nerfs a race gives:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Race::Human;
|
package OSRIC::Race::Human;
|
||||||
use parent qw(OSRIC::Races);
|
use parent qw(OSRIC::Race);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# The stat buffs/nerfs a race gives:
|
# The stat buffs/nerfs a race gives:
|
||||||
|
Loading…
Reference in New Issue
Block a user