summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-goditem.h
blob: 874b665256b1a490b6e16182ef0edca5e31bfaec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef SPL_GODITEM_H
#define SPL_GODITEM_H

#include "spl-cast.h"

spret_type cast_healing(int pow, int max_pow, bool divine_ability = false,
                        const coord_def& where = coord_def(0, 0),
                        bool not_self = false,
                        targ_mode_type mode = TARG_NUM_MODES);

void debuff_player();
void debuff_monster(monster* mons);

int detect_traps(int pow);
int detect_items(int pow);
int detect_creatures(int pow, bool telepathic = false);
bool remove_curse(bool alreadyknown = true, string *pre_msg = NULL);
bool curse_item(bool armour, string *pre_msg = NULL);

bool entomb(int pow);
bool cast_imprison(int pow, monster* mons, int source);

bool cast_smiting(int pow, monster* mons);

int is_pacifiable(const monster* mon);
#endif