mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-30 17:07:19 +02:00
Species update 1
This commit is contained in:
parent
1efb08dafd
commit
8018ed3fcf
14 changed files with 773 additions and 95 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include "constants.h"
|
||||
#include "act.h"
|
||||
#include "class.h"
|
||||
#include "species.h"
|
||||
|
||||
/* Names first */
|
||||
const char *class_abbrevs[] = {
|
||||
|
|
@ -231,7 +232,10 @@ void roll_real_abils(struct char_data *ch)
|
|||
ch->real_abils.cha = table[5];
|
||||
break;
|
||||
}
|
||||
ch->aff_abils = ch->real_abils;
|
||||
if (HAS_VALID_SPECIES(ch))
|
||||
apply_species_bonuses(ch);
|
||||
else
|
||||
ch->aff_abils = ch->real_abils;
|
||||
}
|
||||
|
||||
/* Per-class skill caps */
|
||||
|
|
@ -489,6 +493,7 @@ void do_start(struct char_data *ch)
|
|||
GET_MAX_MOVE(ch) = 90;
|
||||
|
||||
grant_class_skills(ch, TRUE);
|
||||
grant_species_skills(ch);
|
||||
|
||||
advance_level(ch);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue