version 1.128 | | version 1.129 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.128 2005/07/16 21:10:40 akirschbaum Exp $"; | | * "$Id: spell_effect.c,v 1.129 2005/07/19 20:59:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
| | |
| | |
if(op->type!=PLAYER) | | if(op->type!=PLAYER) |
return 0; | | return 0; |
| | |
dummy=get_archetype("force"); | | dummy=get_archetype(FORCE_NAME); |
if(dummy == NULL){ | | if(dummy == NULL){ |
new_draw_info(NDI_UNIQUE, 0,op,"Oops, program error!"); | | new_draw_info(NDI_UNIQUE, 0,op,"Oops, program error!"); |
LOG(llevError,"cast_word_of_recall: get_archetype(force) failed!\n"); | | LOG(llevError,"cast_word_of_recall: get_archetype(force) failed!\n"); |
| | |
} | | } |
} | | } |
if(force==NULL) { | | if(force==NULL) { |
force=get_archetype("force"); | | force=get_archetype(FORCE_NAME); |
force->subtype = FORCE_CHANGE_ABILITY; | | force->subtype = FORCE_CHANGE_ABILITY; |
free_string(force->name); | | free_string(force->name); |
if (spell_ob->race) | | if (spell_ob->race) |
| | |
} | | } |
} | | } |
if(force==NULL) { | | if(force==NULL) { |
force=get_archetype("force"); | | force=get_archetype(FORCE_NAME); |
force->subtype = FORCE_CHANGE_ABILITY; | | force->subtype = FORCE_CHANGE_ABILITY; |
free_string(force->name); | | free_string(force->name); |
if (spell_ob->race) | | if (spell_ob->race) |