Hengband
2.2.1
|
突然変異ルールの実装 / Mutation effects (and racial powers) [詳解]
#include "angband.h"
#include "core.h"
#include "util.h"
#include "cmd-dump.h"
#include "mutation.h"
#include "selfinfo.h"
#include "spells-summon.h"
#include "avatar.h"
#include "player-status.h"
#include "player-effects.h"
#include "player-personality.h"
#include "player-class.h"
#include "player-damage.h"
#include "spells-status.h"
#include "spells-floor.h"
#include "object-hook.h"
#include "spells.h"
#include "cmd-basic.h"
#include "files.h"
#include "floor.h"
#include "targeting.h"
#include "player-race.h"
関数 | |
bool | gain_mutation (player_type *creature_ptr, MUTATION_IDX choose_mut) |
プレイヤーに突然変異を与える [詳解] | |
bool | lose_mutation (player_type *creature_ptr, MUTATION_IDX choose_mut) |
プレイヤーから突然変異を取り除く [詳解] | |
void | lose_all_mutations (player_type *creature_ptr) |
void | dump_mutations (player_type *creature_ptr, FILE *OutFile) |
ファイルポインタを通じて突然変異の一覧を出力する [詳解] | |
void | do_cmd_knowledge_mutations (player_type *creature_ptr) |
突然変異表示コマンドの実装 / List mutations we have... [詳解] | |
static int | count_mutations (player_type *creature_ptr) |
現在プレイヤー得ている突然変異の数を返す。 [詳解] | |
int | calc_mutant_regenerate_mod (player_type *creature_ptr) |
突然変異による自然回復ペナルティをパーセント値で返す / Return the modifier to the regeneration rate (in percent) [詳解] | |
bool | exe_mutation_power (player_type *creature_ptr, int power) |
突然変異のレイシャル効果実装 [詳解] | |
void | become_living_trump (player_type *creature_ptr) |
突然変異ルールの実装 / Mutation effects (and racial powers)
void become_living_trump | ( | player_type * | creature_ptr | ) |
int calc_mutant_regenerate_mod | ( | player_type * | creature_ptr | ) |
突然変異による自然回復ペナルティをパーセント値で返す / Return the modifier to the regeneration rate (in percent)
|
static |
現在プレイヤー得ている突然変異の数を返す。
void do_cmd_knowledge_mutations | ( | player_type * | creature_ptr | ) |
突然変異表示コマンドの実装 / List mutations we have...
void dump_mutations | ( | player_type * | creature_ptr, |
FILE * | OutFile | ||
) |
ファイルポインタを通じて突然変異の一覧を出力する
OutFile | 出力先ファイルポインタ |
bool exe_mutation_power | ( | player_type * | creature_ptr, |
int | power | ||
) |
突然変異のレイシャル効果実装
power | 発動させる突然変異レイシャルのID |
bool gain_mutation | ( | player_type * | creature_ptr, |
MUTATION_IDX | choose_mut | ||
) |
プレイヤーに突然変異を与える
choose_mut | 与えたい突然変異のID、0ならばランダムに選択 |
void lose_all_mutations | ( | player_type * | creature_ptr | ) |
bool lose_mutation | ( | player_type * | creature_ptr, |
MUTATION_IDX | choose_mut | ||
) |
プレイヤーから突然変異を取り除く
choose_mut | 取り除きたい突然変異のID、0ならばランダムに消去 |