version 1.100 | | version 1.101 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.100 2003/02/25 07:18:07 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.101 2003/03/03 05:13:08 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
} | | } |
} | | } |
} | | } |
| | |
| | if (is_dragon_pl(op)) |
| | { |
| | /* now grab the 'dragon_ability'-force from the player's inventory */ |
| | for (tmp = op->inv; tmp != NULL; tmp = tmp->below) { |
| | if (tmp->type == FORCE) { |
| | if (strcmp(tmp->arch->name, "dragon_ability_force") == 0) { |
| | if(tmp->stats.exp == 0) { |
| | sprintf(buf, "Your metabolism isn't focused on anything."); |
| | } else { |
| | sprintf(buf, "Your metabolism is focused on %s.", change_resist_msg[tmp->stats.exp]); |
| | } |
| | new_draw_info(NDI_UNIQUE, 0,op, buf); |
| | break; |
| | } |
| | } |
| | } |
| | } |
| | |
return 1; | | return 1; |
} | | } |
| | |
| | |
/* If we were unable to load (ex. random map deleted), warn player*/ | | /* If we were unable to load (ex. random map deleted), warn player*/ |
if (exitmap==NULL) { | | if (exitmap==NULL) { |
new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"Something strange happens.\nYou can't remember where to go!?"); | | new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"Something strange happens.\nYou can't remember where to go!?"); |
| | remove_ob(force); |
| | free_object(force); |
return 1; | | return 1; |
} | | } |
| | |