OSDN Git Service

To be more idiomatic, drop "was" from English message for death of dragon centipedes.
[hengband/hengband.git] / src / spell-realm / spells-hex.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 bool stop_hex_spell_all(player_type *caster_ptr);
6 bool stop_hex_spell(player_type *caster_ptr);
7 void check_hex(player_type *caster_ptr);
8 bool hex_spell_fully(player_type *caster_ptr);
9 void revenge_spell(player_type *caster_ptr);
10 void revenge_store(player_type *caster_ptr, HIT_POINT dam);
11 bool teleport_barrier(player_type *caster_ptr, MONSTER_IDX m_idx);
12 bool magic_barrier(player_type *target_ptr, MONSTER_IDX m_idx);
13 bool multiply_barrier(player_type *caster_ptr, MONSTER_IDX m_idx);
14 bool hex_spelling(player_type *caster_type, int hex);
15 bool hex_spelling_any(player_type *caster_type);
16 #define casting_hex_flags(P_PTR) ((P_PTR)->magic_num1[0])
17 #define casting_hex_num(P_PTR) ((P_PTR)->magic_num2[0])
18 #define hex_revenge_power(P_PTR) ((P_PTR)->magic_num1[2])
19 #define hex_revenge_turn(P_PTR) ((P_PTR)->magic_num2[2])
20 #define hex_revenge_type(P_PTR) ((P_PTR)->magic_num2[1])