Changeset 953
- Timestamp:
- 06/02/08 13:37:00 (4 months ago)
- Files:
-
- trunk/src/effects.c (modified) (1 diff)
- trunk/src/list-effects.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/effects.c
r918 r953 1552 1552 } 1553 1553 1554 case EF_DRINK_BREATHE: 1555 { 1556 const int breath_types[] = 1557 { 1558 GF_FIRE, 80, 1559 GF_COLD, 80, 1560 }; 1561 1562 int which = 2 * randint0(N_ELEMENTS(breath_types) / 2); 1563 fire_ball(breath_types[which], dir, breath_types[which + 1], 2); 1564 *ident = TRUE; 1565 return TRUE; 1566 } 1567 1554 1568 case EF_DRINK_GOOD: 1555 1569 { trunk/src/list-effects.h
r918 r953 209 209 210 210 EFFECT(WONDER, TRUE, "creates random and unpredictable effects") 211 EFFECT(MUTATIONS, TRUE, "swaps your stats around randomly") 211 212 212 213 EFFECT(WAND_BREATH, TRUE, "shoots a large ball of one of the base elements for 120-200 damage") … … 214 215 EFFECT(STAFF_HOLY, FALSE, "inflicts damage on evil creatures you can see, cures 50 hit points, heals all temporary effects and grants you protection from evil") 215 216 EFFECT(DRINK_GOOD, FALSE, NULL) 217 EFFECT(DRINK_BREATHE, TRUE, "causes you to breathe either cold or flames for 80 damage") 216 218 EFFECT(DRINK_SALT, FALSE, "induces vomiting and paralysis for 4 turns, resulting in severe hunger but also curing poison") 217 219 EFFECT(DRINK_DEATH, FALSE, "inflicts 5000 points of damage")
