OSDN Git Service

[Refactor] #40624 Moved set_monster_*() from monster-status.c/h to monster-status...
[hengband/hengband.git] / src / action / racial-execution.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 typedef enum racial_level_check_result {
6         RACIAL_SUCCESS = 1,
7         RACIAL_FAILURE = -1,
8         RACIAL_CANCEL = 0,
9 } racial_level_check_result;
10
11 typedef struct rpi_type rpi_type;
12 PERCENTAGE racial_chance(player_type *creature_ptr, rpi_type *rpi_ptr);
13 racial_level_check_result check_racial_level(player_type *creature_ptr, rpi_type *rpi_ptr);
14 bool exe_racial_power(player_type *creature_ptr, const s32b command);