呪術の処理実装 / Hex code [詳細]
#include "angband.h"
マクロ定義 | |
#define | MAX_KEEP 4 |
呪術の最大詠唱数 [詳細] | |
関数 | |
bool | stop_hex_spell_all (void) |
プレイヤーが詠唱中の全呪術を停止する [詳細] | |
bool | stop_hex_spell (void) |
プレイヤーが詠唱中の呪術から一つを選んで停止する [詳細] | |
void | check_hex (void) |
一定時間毎に呪術で消費するMPを処理する / Upkeeping hex spells Called from dungeon.c [詳細] | |
bool | hex_spell_fully (void) |
プレイヤーの呪術詠唱枠がすでに最大かどうかを返す [詳細] | |
void | revenge_spell (void) |
一定ゲームターン毎に復讐処理の残り期間の判定を行う [詳細] | |
void | revenge_store (int dam) |
復讐ダメージの追加を行う [詳細] | |
bool | teleport_barrier (int m_idx) |
反テレポート結界の判定 [詳細] | |
bool | magic_barrier (int m_idx) |
反魔法結界の判定 [詳細] | |
bool | multiply_barrier (int m_idx) |
反増殖結界の判定 [詳細] | |
呪術の処理実装 / Hex code
p_ptr-magic_num1
0: Flag bits of spelling spells
1: Flag bits of despelled spells
2: Revange damage
p_ptr->magic_num2
0: Number of spelling spells
1: Type of revenge
2: Turn count for revenge
#define MAX_KEEP 4 |
呪術の最大詠唱数
void check_hex | ( | void | ) |
bool hex_spell_fully | ( | void | ) |
プレイヤーの呪術詠唱枠がすでに最大かどうかを返す
bool magic_barrier | ( | int | m_idx | ) |
反魔法結界の判定
m_idx | 判定の対象となるモンスターID |
bool multiply_barrier | ( | int | m_idx | ) |
反増殖結界の判定
m_idx | 判定の対象となるモンスターID |
void revenge_spell | ( | void | ) |
一定ゲームターン毎に復讐処理の残り期間の判定を行う
void revenge_store | ( | int | dam | ) |
復讐ダメージの追加を行う
dam | 蓄積されるダメージ量 |
bool stop_hex_spell | ( | void | ) |
プレイヤーが詠唱中の呪術から一つを選んで停止する
bool stop_hex_spell_all | ( | void | ) |
プレイヤーが詠唱中の全呪術を停止する
bool teleport_barrier | ( | int | m_idx | ) |
反テレポート結界の判定
m_idx | 判定の対象となるモンスターID |