OSDN Git Service

To avoid implying that the path obeys the "angle of incidence equals the angle of...
[hengband/hengband.git] / src / object-broken.h
1 #pragma once
2
3 extern bool hates_acid(object_type *o_ptr);
4 extern bool hates_elec(object_type *o_ptr);
5 extern bool hates_fire(object_type *o_ptr);
6 extern bool hates_cold(object_type *o_ptr);
7 extern int set_acid_destroy(object_type *o_ptr);
8 extern int set_elec_destroy(object_type *o_ptr);
9 extern int set_fire_destroy(object_type *o_ptr);
10 extern int set_cold_destroy(object_type *o_ptr);
11
12 extern bool potion_smash_effect(player_type *owner_ptr, MONSTER_IDX who, POSITION y, POSITION x, KIND_OBJECT_IDX k_idx);
13 PERCENTAGE breakage_chance(player_type *owner_ptr, object_type *o_ptr, bool has_archer_bonus, SPELL_IDX snipe_type);