File: evoke.h

package info (click to toggle)
crawl 2%3A0.34.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 100,188 kB
  • sloc: cpp: 363,709; ansic: 27,765; javascript: 9,516; python: 8,463; perl: 3,293; java: 3,132; xml: 2,380; makefile: 1,835; sh: 611; objc: 250; cs: 15; sed: 9; lisp: 3
file content (38 lines) | stat: -rw-r--r-- 1,158 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
/**
 * @file
 * @brief Functions for using some of the wackier inventory items.
**/

#pragma once

#include <vector>

using std::vector;

struct dice_def;

string manual_skill_names(bool short_text=false);

void wind_blast(actor* agent, int pow, coord_def target);

string cannot_evoke_item_reason(const item_def *item=nullptr,
                                bool temp=true, bool ident=true);
bool item_currently_evokable(const item_def *item);
bool item_ever_evokable(const item_def &item);
bool evoke_item(item_def &item, dist *target=nullptr);
int wand_mp_cost();
int wand_power(spell_type spell);
void zap_wand(int slot = -1, dist *target=nullptr);

int tremorstone_count(int pow);

string target_evoke_desc(const monster_info& mi, const item_def& item);
string evoke_damage_string(const item_def& item);
string evoke_noise_string(const item_def& item);

dice_def pyromania_damage(bool random = true, bool max = false);
int pyromania_trigger_chance(bool max = false);
int mesmerism_orb_radius(bool max = false);
int stardust_orb_max(bool max = false);
int stardust_orb_power(int mp_spent, bool max_evo = false);
void stardust_orb_trigger(int mp_spent);