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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
|
/*
* File: spells2.cc
* Summary: Implementations of some additional spells.
* Written by: Linley Henzell
*
* Change History (most recent first):
*
* <1> -/--/-- LRH Created
*/
#ifndef SPELLS2_H
#define SPELLS2_H
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
bool brand_weapon(int which_brand, int power);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability - spell
* *********************************************************************** */
int animate_a_corpse(int axps, int ayps, int corps_beh, int corps_hit, int class_allowed);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability - it_use3 - monstuff - mstuff2 - spell
* *********************************************************************** */
int animate_dead(int power, int corps_beh, int corps_hit, int actual);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
char burn_freeze(int pow, char b_f);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
int corpse_rot(int power);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: it_use3 - spell
* *********************************************************************** */
int summon_elemental(int pow, unsigned char restricted_type, unsigned char unfriendly);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
int vampiric_drain(int pow);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
unsigned char detect_creatures( int pow );
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
unsigned char detect_items( int pow );
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
unsigned char detect_traps( int pow );
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: item_use - spell
* *********************************************************************** */
void cast_refrigeration(int pow);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: item_use - spell
* *********************************************************************** */
void cast_toxic_radiance(void);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
void cast_twisted(int power, int corps_beh, int corps_hit);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability
* *********************************************************************** */
void drain_life(int pow);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability - spell
* *********************************************************************** */
void holy_word(int pow);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability - food - it_use2 - spell
* returns TRUE if a stat was restored.
* *********************************************************************** */
bool restore_stat(unsigned char which_stat, bool suppress_msg);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability - spell
* *********************************************************************** */
void summon_ice_beast_etc(int pow, int ibc);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
void summon_scorpions(int pow);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
void summon_small_mammals(int pow);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability - religion - spell
* *********************************************************************** */
void summon_swarm(int pow, bool god_gift = false);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
void summon_things(int pow);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
void summon_undead(int pow);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability - spell
* *********************************************************************** */
void turn_undead(int pow); // what should I use for pow?
#endif
|