File: bane-data.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 (116 lines) | stat: -rw-r--r-- 2,477 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#pragma once

#include "tag-version.h"

#include "bane-type.h"

struct bane_def
{
    bane_type   type;
    short       duration;    ///< Duration of bane in XP units
    const char* name;        ///< Name of this bane.
    const char* description; ///< What appears on the 'A' screen.
};

static const bane_def bane_data[] =
{
    {
        BANE_LETHARGY,
        BANE_DUR_LONG,
        "Lethargy",
        "You cover ground slowly.",
    },

    {
        BANE_HEATSTROKE,
        BANE_DUR_LONG,
        "Heatstroke",
        "You often become slowed when damaged by fire.",
    },

    {
        BANE_SNOW_BLINDNESS,
        BANE_DUR_LONG,
        "Snow-blindness",
        "You often become weak and blind when damaged by cold.",
    },

    {
        BANE_ELECTROSPASM,
        BANE_DUR_LONG,
        "Electrospasm",
        "You often become unable to move when damaged by electricity.",
    },

    {
        BANE_CLAUSTROPHOBIA,
        BANE_DUR_MEDIUM,
        "Claustrophobia",
        "Your slaying and spellpower are decreased in confined spaces.",
    },

    {
        BANE_STUMBLING,
        BANE_DUR_SHORT,
        "Stumbling",
        "Your evasion is greatly reduced on turns you move or wait in place.",
    },

#if TAG_MAJOR_VERSION == 34
    {
        BANE_RECKLESS_REMOVED,
        0,
        "the Removed",
        "You feel a strange sense of nostalgia.",
    },
#endif

    {
        BANE_SUCCOUR,
        BANE_DUR_MEDIUM,
        "Succour",
        "You heal other nearby enemies whenever you kill a monster.",
    },

    {
        BANE_MULTIPLICITY,
        BANE_DUR_MEDIUM,
        "Multiplicity",
        "Enemies in your sight sometimes split into clones of themselves.",
    },

    {
        BANE_DILETTANTE,
        BANE_DUR_MEDIUM,
        "the Dilettante",
        "You are less proficient with several skills.", // Overridden
    },

    {
        BANE_PARADOX,
        BANE_DUR_MEDIUM,
        "Paradox",
        "Enemies you spot sometimes become touched by paradox.",
    },

    {
        BANE_WARDING,
        BANE_DUR_MEDIUM,
        "Warding",
        "Enemies you encounter may be immune to damage from range.",
    },

    {
        BANE_HUNTED,
        BANE_DUR_LONG,
        "the Hunted",
        "When enemies are summoned, they will appear beside you instead.",
    },

    {
        BANE_MORTALITY,
        BANE_DUR_SHORT,
        "Mortality",
        "When alone and injured, reapers sometimes come to claim you.",
    },
};