summaryrefslogtreecommitdiff
path: root/src/lua_bind.hpp
blob: c65795fc9f3aa3e96dbb9e279315faef10715972 (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include "h-basic.h"
#include "spell_type_fwd.hpp"

/** Calculate spell failure rate for a device, i.e. a wand or staff. */
extern s32b spell_chance_device(spell_type *spell_ptr);

/** Calculate spell failure rate for a spell book. */
extern s32b spell_chance_book(s32b s);