Changeset 637
- Timestamp:
- 12/23/07 18:21:04 (1 year ago)
- Files:
-
- trunk/src/effects.c (modified) (6 diffs)
- trunk/src/effects.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/effects.c
r618 r637 630 630 } 631 631 632 case EF_DET _TREASURE:632 case EF_DETECT_TREASURE: 633 633 { 634 634 if (detect_treasure()) *ident = TRUE; … … 636 636 } 637 637 638 case EF_DET _TRAP:638 case EF_DETECT_TRAP: 639 639 { 640 640 if (detect_traps()) *ident = TRUE; … … 642 642 } 643 643 644 case EF_DET _DOORSTAIR:644 case EF_DETECT_DOORSTAIR: 645 645 { 646 646 if (detect_doorstairs()) *ident = TRUE; … … 648 648 } 649 649 650 case EF_DET _INVIS:650 case EF_DETECT_INVIS: 651 651 { 652 652 if (detect_monsters_invis()) *ident = TRUE; … … 654 654 } 655 655 656 case EF_DET _EVIL:656 case EF_DETECT_EVIL: 657 657 { 658 658 if (detect_monsters_evil()) *ident = TRUE; … … 660 660 } 661 661 662 case EF_DET _ALL:662 case EF_DETECT_ALL: 663 663 { 664 664 if (detect_all()) *ident = TRUE; trunk/src/effects.h
r580 r637 122 122 EFFECT(RESIST_ALL, FALSE, "grants resistance to everything!!!") 123 123 124 EFFECT(DET _TREASURE, FALSE, "detects all gold and objects on the level")125 EFFECT(DET _TRAP, FALSE, "detects all traps in the surrounding area")126 EFFECT(DET _DOORSTAIR, FALSE, "detects all doors and stairs on the level")127 EFFECT(DET _INVIS, FALSE, "detects all invisible creatures in the surrounding area")128 EFFECT(DET _EVIL, FALSE, "detects all evil creatures in the immidiate area")129 EFFECT(DET _ALL, FALSE, "detects treasure, objects, traps, doors, stairs, and all creatures in the surrounding area")124 EFFECT(DETECT_TREASURE, FALSE, "detects all gold and objects on the level") 125 EFFECT(DETECT_TRAP, FALSE, "detects all traps in the surrounding area") 126 EFFECT(DETECT_DOORSTAIR, FALSE, "detects all doors and stairs on the level") 127 EFFECT(DETECT_INVIS, FALSE, "detects all invisible creatures in the surrounding area") 128 EFFECT(DETECT_EVIL, FALSE, "detects all evil creatures in the immidiate area") 129 EFFECT(DETECT_ALL, FALSE, "detects treasure, objects, traps, doors, stairs, and all creatures in the surrounding area") 130 130 131 131 EFFECT(ENCHANT_TOHIT, FALSE, "attempts to magically enhance a weapon's to-hit bonus")
