diff options
Diffstat (limited to 'src/lua_bind.c')
-rw-r--r-- | src/lua_bind.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lua_bind.c b/src/lua_bind.c index a019004b..11f47bca 100644 --- a/src/lua_bind.c +++ b/src/lua_bind.c @@ -577,4 +577,7 @@ void timer_aggravate_evil_callback() dispel_evil(0); } - +cptr get_spell_info(s32b s) +{ + return string_exec_lua(format("return __spell_info[" FMTs32b "]()", s)); +} |