Changeset 375
- Timestamp:
- 07/27/07 11:35:53 (1 year ago)
- Files:
-
- branches/angband-3.0.8/src/spells2.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/angband-3.0.8/src/spells2.c
r360 r375 2241 2241 { 2242 2242 int i; 2243 unsigned dam = 0; 2243 2244 2244 2245 char typ; … … 2268 2269 2269 2270 /* Take some damage */ 2270 take_hit(randint(4), "the strain of casting Banishment"); 2271 } 2271 dam += randint(4); 2272 } 2273 2274 /* Hurt the player */ 2275 take_hit(dam, "the strain of casting Banishment"); 2272 2276 2273 2277 /* Update monster list window */ … … 2285 2289 { 2286 2290 int i; 2291 unsigned dam = 0; 2287 2292 2288 2293 bool result = FALSE; … … 2308 2313 2309 2314 /* Take some damage */ 2310 take_hit(randint(3), "the strain of casting Mass Banishment"); 2311 2312 /* Note effect */ 2313 result = TRUE; 2314 } 2315 dam += randint(3); 2316 } 2317 2318 /* Hurt the player */ 2319 take_hit(dam, "the strain of casting Mass Banishment"); 2320 2321 /* Calculate result */ 2322 result = (dam > 0) ? TRUE : FALSE; 2315 2323 2316 2324 /* Update monster list window */
