Hengband  2.2.1
関数
spells-diceroll.h ファイル
被依存関係図:

[ソースコード]

関数

bool_hack common_saving_throw_control (player_type *player_ptr, HIT_POINT pow, monster_type *m_ptr)
 モンスター服従用セービングスロー共通部(部族依存系) [詳解]
 
bool_hack common_saving_throw_charm (player_type *player_ptr, HIT_POINT pow, monster_type *m_ptr)
 モンスター魅了用セービングスロー共通部(汎用系) [詳解]
 

関数詳解

◆ common_saving_throw_charm()

bool_hack common_saving_throw_charm ( player_type player_ptr,
HIT_POINT  pow,
monster_type m_ptr 
)

モンスター魅了用セービングスロー共通部(汎用系)

引数
pow魅了パワー
m_ptr対象モンスター
戻り値
魅了に抵抗したらTRUE

◆ common_saving_throw_control()

bool_hack common_saving_throw_control ( player_type player_ptr,
HIT_POINT  pow,
monster_type m_ptr 
)

モンスター服従用セービングスロー共通部(部族依存系)

引数
pow服従パワー
m_ptr対象モンスター
戻り値
服従に抵抗したらTRUE