- impl goblin character class
This commit is contained in:
@ -33,7 +33,7 @@ int character::get_gold() const {
|
||||
}
|
||||
|
||||
float character::get_hitrate() const {
|
||||
return base_hitrate;
|
||||
return base_hit_rate;
|
||||
}
|
||||
|
||||
bool character::is_hostile() const {
|
||||
@ -61,7 +61,7 @@ void character::set_gold(const int ngold) {
|
||||
}
|
||||
|
||||
void character::set_hitrate(const float nhitrate) {
|
||||
base_hitrate = nhitrate;
|
||||
base_hit_rate = nhitrate;
|
||||
}
|
||||
|
||||
void character::set_hostile(const bool is_hostile) {
|
||||
|
Reference in New Issue
Block a user