Difference for server/alchemy.c from version 1.13 to 1.14


version 1.13 version 1.14
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_alchemy_c =   * static char *rcsid_alchemy_c =
  *   "$Id: alchemy.c,v 1.13 2002/11/11 08:59:09 garbled Exp $";   *   "$Id: alchemy.c,v 1.14 2002/11/13 00:26:13 garbled Exp $";
  */   */
   
 /*  /*
Line 498
 
Line 498
       alchemy_failure_effect(op,cauldron,rp,level-5);        alchemy_failure_effect(op,cauldron,rp,level-5);
       return;        return;
   
   }    } else if (level<50) {               /* MINOR EXPLOSION/FIREBALL */
 /* #ifdef SPELL_FAILURE_EFFECTS */   
    else if (level<50) {                /* MINOR EXPLOSION/FIREBALL */  
       object *tmp;        object *tmp;
       remove_contents(cauldron->inv,NULL);        remove_contents(cauldron->inv,NULL);
       switch(rndm(0, 2)) {        switch(rndm(0, 2)) {
Line 536
 
Line 534
  cauldron->name);   cauldron->name);
       return;        return;
   
   }    } else if (level<100) {               /* WHAMMY the CAULDRON */
 /* #endif SPELL_FAILURE_EFFECTS */  
     else if (level<100) {               /* WHAMMY the CAULDRON */  
       if(!QUERY_FLAG(cauldron,FLAG_CURSED))        if(!QUERY_FLAG(cauldron,FLAG_CURSED))
         SET_FLAG(cauldron,FLAG_CURSED);          SET_FLAG(cauldron,FLAG_CURSED);
       else cauldron->magic--;        else cauldron->magic--;
Line 553
 
Line 549
  "Your %s becomes darker.",cauldron->name);   "Your %s becomes darker.",cauldron->name);
       return;        return;
   
   }    } else if (level<110) {               /* SUMMON EVIL MONSTERS */
 /* #ifdef SPELL_FAILURE_EFFECTS */   
     else if (level<110) {               /* SUMMON EVIL MONSTERS */  
       object *tmp=get_random_mon(level/5);        object *tmp=get_random_mon(level/5);
   
       remove_contents(cauldron->inv,NULL);        remove_contents(cauldron->inv,NULL);
Line 575
 
Line 569
  roll--;   roll--;
       }        }
       return;        return;
   }    } else if (level==151) {              /* CREATE RANDOM ARTIFACT */
   
 /* #endif  SPELL_FAILURE_EFFECTS */  
     else if (level==151) {              /* CREATE RANDOM ARTIFACT */  
       object *tmp;        object *tmp;
  /* this is meant to be better than prior possiblity,    /* this is meant to be better than prior possiblity,
  * in this one, we allow *any* valid alchemy artifact   * in this one, we allow *any* valid alchemy artifact
Line 594
 
Line 585
  }   }
       }        }
       return;        return;
   }    } else if (level<200) {               /* MANA STORM - watch out!! */
 /* #ifdef SPELL_FAILURE_EFFECTS */   
     else if (level<200) {               /* MANA STORM - watch out!! */  
       new_draw_info(NDI_UNIQUE,0,op,"You unwisely release potent forces!");        new_draw_info(NDI_UNIQUE,0,op,"You unwisely release potent forces!");
       remove_contents (cauldron->inv,NULL);        remove_contents (cauldron->inv,NULL);
       cast_mana_storm(op,level);        cast_mana_storm(op,level);
       return;        return;
   }    }
 /* #endif SPELL_FAILURE_EFFECTS */  
 }  }
   
   


Legend:
line(s) removed in v.1.13 
line(s) changed
 line(s) added in v.1.14

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:21