Freeciv-3.1: veteran_level Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
veteran_level Struct Reference

`#include <unittype.h>`

## Data Fields

struct name_translation | name
int | power_fact
int | move_bonus
int | base_raise_chance
int | work_raise_chance

## Detailed Description

Definition at line 467 of file unittype.h.

## Field Documentation

## ◆ base_raise_chance

int veteran_level::base_raise_chance

Definition at line 471 of file unittype.h.

Referenced by maybe_become_veteran_real(), save_veteran_system(), send_ruleset_game(), send_ruleset_units(), and veteran_system_definition().

## ◆ move_bonus

int veteran_level::move_bonus

Definition at line 470 of file unittype.h.

Referenced by save_veteran_system(), send_ruleset_game(), send_ruleset_units(), unit_bribe_cost(), utype_move_rate(), and veteran_system_definition().

## ◆ name

struct name_translation veteran_level::name

Definition at line 468 of file unittype.h.

Referenced by helptext_government(), notify_unit_experience(), save_veteran_system(), send_ruleset_game(), send_ruleset_units(), unit_veteran_level_string(), utype_veteran_name_translation(), and veteran_system_definition().

## ◆ power_fact

int veteran_level::power_fact

Definition at line 469 of file unittype.h.

Referenced by ap_dipl_battle_win(), base_get_attack_power(), base_get_defense_power(), dai_gothere_bodyguard(), diplomat_escape_full(), diplomat_success_vs_defender(), get_activity_rate(), get_virtual_defense_power(), save_veteran_system(), send_ruleset_game(), send_ruleset_units(), unit_bribe_cost(), utype_veteran_has_power_bonus(), and veteran_system_definition().

## ◆ work_raise_chance

int veteran_level::work_raise_chance

Definition at line 472 of file unittype.h.

Referenced by maybe_become_veteran_real(), save_veteran_system(), send_ruleset_game(), send_ruleset_units(), and veteran_system_definition().