summaryrefslogtreecommitdiff
path: root/src/lua_bind.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_bind.hpp')
-rw-r--r--src/lua_bind.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lua_bind.hpp b/src/lua_bind.hpp
new file mode 100644
index 00000000..3ac8e2bc
--- /dev/null
+++ b/src/lua_bind.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "h-basic.h"
+
+/** Calculate spell failure rate for a device, i.e. a wand or staff. */
+extern s32b spell_chance_device(s32b s);
+
+/** Calculate spell failure rate for a spell book. */
+extern s32b spell_chance_book(s32b s);