OSDN Git Service

[Refactor] #1366 Removed type alias 'REALM_IDX'
[hengbandforosx/hengbandosx.git] / src / spell / spell-info.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 typedef struct player_type player_type;
6 EXP experience_of_spell(player_type *caster_ptr, SPELL_IDX spell, int16_t use_realm);
7 MANA_POINT mod_need_mana(player_type *caster_ptr, MANA_POINT need_mana, SPELL_IDX spell, int16_t realm);
8 PERCENTAGE mod_spell_chance_1(player_type *caster_ptr, PERCENTAGE chance);
9 PERCENTAGE mod_spell_chance_2(player_type *caster_ptr, PERCENTAGE chance);
10 PERCENTAGE spell_chance(player_type *caster_ptr, SPELL_IDX spell, int16_t realm);
11 void print_spells(player_type *caster_ptr, SPELL_IDX target_spell, SPELL_IDX *spells, int num, TERM_LEN y, TERM_LEN x, int16_t realm);