version 1.87 | | version 1.88 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.87 2003/09/13 05:02:07 mwedel Exp $"; | | * "$Id: apply.c,v 1.88 2003/09/13 18:30:55 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if(abs(failure/4)>power) power=abs(failure/4); /* set minimum effect */ | | if(abs(failure/4)>power) power=abs(failure/4); /* set minimum effect */ |
| | |
if(failure<= -1&&failure > -15) {/* wonder */ | | if(failure<= -1&&failure > -15) {/* wonder */ |
new_draw_info(NDI_UNIQUE, 0,op,"Your spell warps!."); | | |
object *tmp; | | object *tmp; |
| | |
| | new_draw_info(NDI_UNIQUE, 0,op,"Your spell warps!."); |
tmp=get_archetype(SPELL_WONDER); | | tmp=get_archetype(SPELL_WONDER); |
cast_wonder(op, op, 0, tmp); | | cast_wonder(op, op, 0, tmp); |
free_object(tmp); | | free_object(tmp); |