各職業の特殊技能実装 / Special magics [詳細]
関数 | |
void | mindcraft_info (char *p, int use_mind, int power) |
特殊技能の効果情報をまとめたフォーマットを返す [詳細] | |
static int | get_mind_power (int *sn, bool only_browse) |
使用可能な特殊技能を選択する / Allow user to choose a mindcrafter power. [詳細] | |
static bool | cast_mindcrafter_spell (int spell) |
超能力の発動 / do_cmd_cast calls this function if the player's class is 'mindcrafter'. [詳細] | |
static bool | cast_force_spell (int spell) |
練気術の発動 / do_cmd_cast calls this function if the player's class is 'ForceTrainer'. [詳細] | |
static int | number_of_mirrors (void) |
現在フロアに存在している鏡の数を数える / calculate mirrors [詳細] | |
static bool | cast_mirror_spell (int spell) |
鏡魔法の発動 / do_cmd_cast calls this function if the player's class is 'Mirror magic'. [詳細] | |
static bool | cast_berserk_spell (int spell) |
怒りの発動 / do_cmd_cast calls this function if the player's class is 'berserker'. [詳細] | |
static bool | cast_ninja_spell (int spell) |
忍術の発動 / do_cmd_cast calls this function if the player's class is 'ninja'. [詳細] | |
void | do_cmd_mind (void) |
特殊技能コマンドのメインルーチン / [詳細] | |
void | do_cmd_mind_browse (void) |
現在プレイヤーが使用可能な特殊技能の一覧表示 / [詳細] | |
変数 | |
mind_power | mind_powers [5] |
特殊技能の一覧テーブル [詳細] | |
各職業の特殊技能実装 / Special magics
mind.cとあるが実際には超能力者、練気術師、狂戦士、鏡使い、忍者までの 特殊技能を揃えて実装している。
|
static |
怒りの発動 / do_cmd_cast calls this function if the player's class is 'berserker'.
spell | 発動する特殊技能のID |
|
static |
練気術の発動 / do_cmd_cast calls this function if the player's class is 'ForceTrainer'.
spell | 発動する特殊技能のID |
|
static |
超能力の発動 / do_cmd_cast calls this function if the player's class is 'mindcrafter'.
spell | 発動する特殊技能のID |
|
static |
鏡魔法の発動 / do_cmd_cast calls this function if the player's class is 'Mirror magic'.
spell | 発動する特殊技能のID |
|
static |
忍術の発動 / do_cmd_cast calls this function if the player's class is 'ninja'.
spell | 発動する特殊技能のID |
void do_cmd_mind | ( | void | ) |
特殊技能コマンドのメインルーチン /
void do_cmd_mind_browse | ( | void | ) |
現在プレイヤーが使用可能な特殊技能の一覧表示 /
|
static |
使用可能な特殊技能を選択する / Allow user to choose a mindcrafter power.
sn | 選択した特殊技能ID、キャンセルの場合-1、不正な選択の場合-2を返す |
only_browse | 一覧を見るだけの場合TRUEを返す |
If a valid spell is chosen, saves it in '*sn' and returns TRUE
If the user hits escape, returns FALSE, and set '*sn' to -1
If there are no legal choices, returns FALSE, and sets '*sn' to -2
The "prompt" should be "cast", "recite", or "study"
The "known" should be TRUE for cast/pray, FALSE for study
nb: This function has a (trivial) display bug which will be obvious
when you run it. It's probably easy to fix but I haven't tried,
sorry.
void mindcraft_info | ( | char * | p, |
int | use_mind, | ||
int | power | ||
) |
特殊技能の効果情報をまとめたフォーマットを返す
p | 情報を返す文字列参照ポインタ |
use_mind | 職業毎の特殊技能ID |
power | モンスター魔法のID |
|
static |
現在フロアに存在している鏡の数を数える / calculate mirrors
mind_power mind_powers[5] |
特殊技能の一覧テーブル