summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-selfench.h
blob: 4f479456b68773f21c3aa1eaf119d2183f706c39 (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
27
28
29
30
#ifndef SPL_SELFENCH_H
#define SPL_SELFENCH_H

#include "spl-cast.h"

int allowed_deaths_door_hp(void);
spret_type cast_deaths_door(int pow, bool fail);
void remove_ice_armour();
spret_type ice_armour(int pow, bool fail);
spret_type missile_prot(int pow, bool fail);
spret_type deflection(int pow, bool fail);

void remove_regen(bool divine_ability = false);
spret_type cast_regen(int pow, bool divine_ability = false, bool fail = false);
spret_type cast_revivification(int pow, bool fail);

spret_type cast_swiftness(int power, bool fail = false);
spret_type cast_levitation(int power, bool fail);
spret_type cast_fly(int power, bool fail = false);
spret_type cast_insulation(int power, bool fail);

spret_type cast_teleport_control(int power, bool fail);
int cast_selective_amnesia(std::string *pre_msg = NULL);
spret_type cast_see_invisible(int pow, bool fail);
spret_type cast_silence(int pow, bool fail = false);
spret_type cast_liquefaction(int pow, bool fail);
spret_type cast_shroud_of_golubria(int pow, bool fail);
spret_type cast_transform(int pow, transformation_type which_trans, bool fail);

#endif