Changeset 543

Show
Ignore:
Timestamp:
08/24/07 18:02:12 (1 year ago)
Author:
takkaria
Message:

Have a go at changing healing potions. (#369)

  • CLW now heals 15%/15HP, CSW 25%/25HP, CCW 33%/33HP
  • Make CLW heal confusion a bit, and cuts a little more
  • Make CSW heal all cut damage
  • Stop CCW appearing in shops (controversial)
  • Make healing potions appear in small piles
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/edit/object.txt

    r535 r543  
    18821882W:0:0:4:15 
    18831883A:100:0 to 15 
     1884M:100:2d3 
    18841885F:EASY_KNOW 
    18851886E:CURE_LIGHT 
     
    19041905G:!:d 
    19051906I:75:35:100 
    1906 W:3:0:4:40 
    1907 A:100:3 to 35 
     1907W:3:0:4:45 
     1908A:100:5 to 25 
     1909M:85:2d3 
    19081910F:EASY_KNOW 
    19091911E:CURE_SERIOUS 
     
    19121914G:!:d 
    19131915I:75:36:100 
    1914 W:5:0:4:10
    1915 A:100:6 to 100 
    1916 P:0:1d1:0:0:0 
     1916W:5:0:4:13
     1917A:100:10 to 35 
     1918M:70:2d3 
    19171919F:EASY_KNOW 
    19181920E:CURE_CRITICAL 
  • trunk/src/effects.c

    r532 r543  
    248248                case EF_CURE_LIGHT: 
    249249                { 
    250                         if (heal_player(5, 10)) *ident = TRUE; 
     250                        if (heal_player(15, 15)) *ident = TRUE; 
    251251                        if (clear_timed(TMD_BLIND)) *ident = TRUE; 
    252                         if (dec_timed(TMD_CUT, 10)) *ident = TRUE; 
     252                        if (dec_timed(TMD_CUT, 20)) *ident = TRUE; 
     253                        if (dec_timed(TMD_CONFUSED, 20)) *ident = TRUE; 
     254 
    253255                        return TRUE; 
    254256                } 
     
    256258                case EF_CURE_SERIOUS: 
    257259                { 
    258                         if (heal_player(15, 21)) *ident = TRUE; 
    259                         if (set_timed(TMD_CUT, (p_ptr->timed[TMD_CUT] / 2) - 50)) *ident = TRUE; 
     260                        if (heal_player(25, 25)) *ident = TRUE; 
     261                        if (clear_timed(TMD_CUT)) *ident = TRUE; 
    260262                        if (clear_timed(TMD_BLIND)) *ident = TRUE; 
    261263                        if (clear_timed(TMD_CONFUSED)) *ident = TRUE; 
     
    266268                case EF_CURE_CRITICAL: 
    267269                { 
    268                         if (heal_player(30, 30)) *ident = TRUE; 
     270                        if (heal_player(33, 33)) *ident = TRUE; 
    269271                        if (clear_timed(TMD_BLIND)) *ident = TRUE; 
    270272                        if (clear_timed(TMD_CONFUSED)) *ident = TRUE; 
     
    273275                        if (clear_timed(TMD_CUT)) *ident = TRUE; 
    274276                        if (clear_timed(TMD_AMNESIA)) *ident = TRUE; 
     277 
    275278                        return TRUE; 
    276279                } 
  • trunk/src/effects.h

    r532 r543  
    6060        EFFECT(CURE_BODY,      FALSE, "heals cut damage, and cures stunning, poison and blindness") 
    6161 
    62         EFFECT(CURE_LIGHT,     FALSE, "heals you a little (5% or 12HP), and heals some cut damage and cures blindness") 
    63         EFFECT(CURE_SERIOUS,   FALSE, "heals you a little (15% or 21HP), heals some cut damage and cures blindness and confusion") 
    64         EFFECT(CURE_CRITICAL,  FALSE, "heals you a little (30% or 30HP), heals cut damage, and cures poison, blindness, and confusion") 
    65         EFFECT(CURE_FULL,      FALSE, "restores 300 hit points, heals cut damage, and cures stunning, poison, blindness, and confusion") 
    66         EFFECT(CURE_FULL2,     FALSE, "restores 1200 hit points, heals cut damage, and cures stunning, poison, blindness, and confusion") 
     62        EFFECT(CURE_LIGHT,     FALSE, "heals you a little (15% or 15HP), heals some cut damage, makes you a little less confused, and cures blindness") 
     63        EFFECT(CURE_SERIOUS,   FALSE, "heals you a little (1/4 or 25HP), heals cut damage, and cures blindness and confusion") 
     64        EFFECT(CURE_CRITICAL,  FALSE, "heals you a little (1/3 or 33HP), heals cut damage, and cures poisoning, blindness, and confusion") 
     65        EFFECT(CURE_FULL,      FALSE, "restores 300 hit points, heals cut damage, and cures stunning, poisoning, blindness, and confusion") 
     66        EFFECT(CURE_FULL2,     FALSE, "restores 1200 hit points, heals cut damage, and cures stunning, poisoning, blindness, and confusion") 
    6767        EFFECT(CURE_NONORLYBIG,FALSE, "restores 5000 hit points, restores experience and stats, heals cut damage, and cures stunning, poison, blindness, and confusion") 
    6868        EFFECT(CURE_TEMP,      FALSE, "heals cut damage, and cures all stunning, poison, blindness and confusion") 
  • trunk/src/tables.c

    r507 r543  
    15651565 
    15661566                { TV_POTION, SV_POTION_CURE_LIGHT }, 
     1567                { TV_POTION, SV_POTION_CURE_LIGHT }, 
    15671568                { TV_POTION, SV_POTION_CURE_SERIOUS }, 
    15681569                { TV_POTION, SV_POTION_CURE_SERIOUS }, 
    1569                 { TV_POTION, SV_POTION_CURE_CRITICAL }, 
    1570                 { TV_POTION, SV_POTION_CURE_CRITICAL }, 
     1570                { TV_POTION, SV_POTION_CURE_SERIOUS }, 
    15711571                { TV_POTION, SV_POTION_RESTORE_EXP }, 
    15721572                { TV_POTION, SV_POTION_RESTORE_EXP },