From 90735f447e12393f3d89b8c053bd4d8c8a707fa2 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 26 Oct 2008 20:40:30 +0000 Subject: Commit Mantis 509 --- src/map/magic-interpreter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/magic-interpreter.h') diff --git a/src/map/magic-interpreter.h b/src/map/magic-interpreter.h index 94c32bc..9fc6308 100644 --- a/src/map/magic-interpreter.h +++ b/src/map/magic-interpreter.h @@ -377,8 +377,11 @@ spell_create_env(magic_conf_t *conf, spell_t *spell, character_t *caster, int sp void magic_free_env(env_t *env); +/** + * near_miss is set to nonzero iff the spell only failed due to ephemereal issues (spell delay in effect, out of mana, out of components) + */ effect_set_t * -spell_trigger(spell_t *spell, character_t *caster, env_t *env); +spell_trigger(spell_t *spell, character_t *caster, env_t *env, int *near_miss); invocation_t * spell_instantiate(effect_set_t *effect, env_t *env); -- cgit v1.2.3-60-g2f50