version 1.118 | | version 1.119 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.118 2004/05/03 21:38:48 ryo_saeba Exp $"; | | * "$Id: spell_effect.c,v 1.119 2004/05/16 06:05:09 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
+ 50 * SP_level_duration_adjust(caster,spell_ob); | | + 50 * SP_level_duration_adjust(caster,spell_ob); |
| | |
if(stringarg) { | | if(stringarg) { |
at=find_archetype(stringarg); | | at=find_archetype_by_object_name(stringarg); |
if (at==NULL || ((at->clone.type != FOOD && at->clone.type != DRINK) | | if (at==NULL || ((at->clone.type != FOOD && at->clone.type != DRINK) |
|| (at->clone.stats.food > food_value))) | | || (at->clone.stats.food > food_value))) |
stringarg = NULL; | | stringarg = NULL; |