1 #include "spell/spells-specific-bolt.h"
2 #include "effect/effect-characteristics.h"
3 #include "spell/spells-launcher.h"
4 #include "spell/spells-type.h"
8 * @param caster_ptr プレーヤーへの参照ポインタ
9 * @param dir 方向(5ならばグローバル変数 target_col/target_row の座標を目標にする)
11 * @return 作用が実際にあった場合TRUEを返す
13 bool hypodynamic_bolt(player_type *caster_ptr, DIRECTION dir, HIT_POINT dam)
15 BIT_FLAGS flg = PROJECT_STOP | PROJECT_KILL | PROJECT_REFLECTABLE;
16 return (project_hook(caster_ptr, GF_HYPODYNAMIA, dir, dam, flg));
21 * @param caster_ptr プレーヤーへの参照ポインタ
22 * @param dir 方向(5ならばグローバル変数 target_col/target_row の座標を目標にする)
23 * @param plev プレイヤーレベル(効力はplev*200)
24 * @return 作用が実際にあった場合TRUEを返す
26 bool death_ray(player_type *caster_ptr, DIRECTION dir, PLAYER_LEVEL plev)
28 BIT_FLAGS flg = PROJECT_STOP | PROJECT_KILL | PROJECT_REFLECTABLE;
29 return (project_hook(caster_ptr, GF_DEATH_RAY, dir, plev * 200, flg));