OSDN Git Service

[Refactor] #38997 conv_dungeon_feat() に floor_type * 引数を追加. / Add floor_type * argume...
[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(MONSTER_IDX who, POSITION y, POSITION x, KIND_OBJECT_IDX k_idx);
13 PERCENTAGE breakage_chance(object_type *o_ptr, bool has_archer_bonus, SPELL_IDX snipe_type);