Subcategories

Stats

The get/set_pc_base/extra_stat functions are equivalent to calling get/set_critter_base/extra_stat with dude_obj as the critter pointer. None of these stat functions take perks into account, and neither do they do range clamping to make sure the stats are valid. Use the normal get_critter_stat function to get a correctly perk adjusted and range clamped value for a stat.


get_critter_base_stat

int get_critter_base_stat(CritterPtr, int StatID)

get_critter_extra_stat

int get_critter_extra_stat(CritterPtr, int StatID)

get_pc_base_stat

int get_pc_base_stat(int StatID)

get_pc_extra_stat

int get_pc_extra_stat(int StatID)

set_critter_base_stat

void set_critter_base_stat(CritterPtr, int StatID, int value)

set_critter_extra_stat

void set_critter_extra_stat(CritterPtr, int StatID, int value)

set_pc_base_stat

void set_pc_base_stat(int StatID, int value)

set_pc_extra_stat

void set_pc_extra_stat(int StatID, int value)