Hengband  2.2.1
spells-object.h
[詳解]
1 #pragma once
2 
3 extern bool create_ammo(player_type *creature_ptr);
4 extern bool import_magic_device(player_type *creature_ptr);
5 extern void amusement(POSITION y1, POSITION x1, int num, bool known);
6 extern void acquirement(POSITION y1, POSITION x1, int num, bool great, bool special, bool known);
7 extern void acquire_chaos_weapon(player_type *creature_ptr);
8 extern bool curse_armor(player_type *owner_ptr);
9 extern bool curse_weapon_object(player_type *creature_ptr, bool force, object_type *o_ptr);
10 extern bool curse_weapon(bool force, int slot);
11 extern bool rustproof(void);
12 extern bool brand_bolts(void);
13 extern bool perilous_secrets(player_type *user_ptr);
14 extern void get_bloody_moon_flags(object_type *o_ptr);
15 extern void phlogiston(player_type *caster_ptr);
16 extern bool bless_weapon(void);
17 extern bool pulish_shield(void);
18 
19 /*
20  * Bit flags for the "enchant()" function
21  */
22 #define ENCH_TOHIT 0x01 /*!< 装備強化処理: 命中強化 / Enchant to hit */
23 #define ENCH_TODAM 0x02 /*!< 装備強化処理: ダメージ強化 / Enchant to damage */
24 #define ENCH_TOAC 0x04 /*!< 装備強化処理: AC強化 / Enchant to AC */
25 #define ENCH_FORCE 0x08 /*!< 装備強化処理: 無条件に成功させる / Force enchantment */
26 extern bool enchant(object_type *o_ptr, int n, int eflag);
27 extern bool enchant_spell(HIT_PROB num_hit, HIT_POINT num_dam, ARMOUR_CLASS num_ac);
28 extern void brand_weapon(player_type *caster_ptr, int brand_type);
bool perilous_secrets(player_type *user_ptr)
Definition: spells-object.c:825
void get_bloody_moon_flags(object_type *o_ptr)
固定アーティファクト『ブラッディムーン』の特性を変更する。
Definition: spells-object.c:872
bool create_ammo(player_type *creature_ptr)
「弾/矢の製造」処理 / do_cmd_cast calls this function if the player's class is 'archer'.
Definition: spells-object.c:85
Definition: object.h:189
bool pulish_shield(void)
盾磨き処理 / pulish shield
Definition: spells-object.c:1099
bool bless_weapon(void)
武器の祝福処理 / Bless a weapon
Definition: spells-object.c:953
bool rustproof(void)
防具の錆止め防止処理
Definition: spells-object.c:740
s32b HIT_POINT
HPとその増減量の型定義
Definition: h-type.h:161
s32b POSITION
ゲーム中の座標型を定義
Definition: h-type.h:146
bool curse_armor(player_type *owner_ptr)
防具呪縛処理 / Curse the players armor
Definition: spells-object.c:602
bool curse_weapon(bool force, int slot)
武器呪縛処理のメインルーチン / Curse the players weapon
Definition: spells-object.c:730
bool curse_weapon_object(player_type *creature_ptr, bool force, object_type *o_ptr)
武器呪縛処理 / Curse the players weapon
Definition: spells-object.c:670
bool enchant(object_type *o_ptr, int n, int eflag)
装備修正強化処理 / Enchants a plus onto an item.
Definition: spells-object.c:1187
Definition: player-status.h:86
bool import_magic_device(player_type *creature_ptr)
魔道具術師の魔力取り込み処理
Definition: spells-object.c:280
void phlogiston(player_type *caster_ptr)
寿命つき光源の燃素追加処理 / Charge a lite (torch or latern)
Definition: spells-object.c:905
void brand_weapon(player_type *caster_ptr, int brand_type)
武器へのエゴ付加処理 / Brand the current weapon
Definition: spells-object.c:1345
s16b HIT_PROB
ゲーム中の装備命中修正値を定義
Definition: h-type.h:173
bool enchant_spell(HIT_PROB num_hit, HIT_POINT num_dam, ARMOUR_CLASS num_ac)
装備修正強化処理のメインルーチン / Enchant an item (in the p_ptr->inventory_list or on the floor)
Definition: spells-object.c:1289
bool brand_bolts(void)
ボルトのエゴ化処理(火炎エゴのみ) / Enchant some bolts
Definition: spells-object.c:786
s16b ARMOUR_CLASS
ゲーム中の行動アーマークラス型を定義
Definition: h-type.h:181
void acquire_chaos_weapon(player_type *creature_ptr)
Definition: spells-object.c:495
void acquirement(POSITION y1, POSITION x1, int num, bool great, bool special, bool known)
獲得ドロップを行う。 Scatter some "great" objects near the player
Definition: spells-object.c:470
void amusement(POSITION y1, POSITION x1, int num, bool known)
誰得ドロップを行う。
Definition: spells-object.c:379