OSDN Git Service

a1a5ffdc74d4ae4c830ad2536c6b8e6bbffc0416
[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, REALM_IDX use_realm);
7 MANA_POINT mod_need_mana(player_type *caster_ptr, MANA_POINT need_mana, SPELL_IDX spell, REALM_IDX 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, REALM_IDX realm);
11 void print_spells(player_type *caster_ptr, SPELL_IDX target_spell, SPELL_IDX *spells, int num, TERM_LEN y, TERM_LEN x, REALM_IDX realm);