Show
Ignore:
Timestamp:
07/05/08 11:20:34 (5 months ago)
Author:
takkaria
Message:

Implement the mushroom of sprinting.
Forget about making a potion of mutations.
Add a potion type for the potion of dragon breath.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/effects.c

    r953 r979  
    15521552                } 
    15531553 
    1554                 case EF_DRINK_BREATHE
     1554                case EF_DRINK_BREATH
    15551555                { 
    15561556                        const int breath_types[] = 
     
    16741674                } 
    16751675 
    1676 #if 0 
    16771676                case EF_SHROOM_SPRINTING: 
    16781677                { 
    1679                         /* 
    1680                         +10 speed boost. 
    1681                         if player already fast, double current duration and add bad effect 
    1682                         otherwise 2*!Speed duration, then bad effect 
    1683                         */ 
    1684                         return TRUE; 
    1685                 } 
    1686 #endif 
     1678                        if (inc_timed(TMD_SPRINT, 100)) *ident = TRUE; 
     1679                        return TRUE; 
     1680                } 
    16871681 
    16881682                case EF_SHROOM_PURGING: