version 1.17 | | version 1.18 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.17 2005/01/07 21:23:59 ryo_saeba Exp $"; | | * "$Id: spell_attack.c,v 1.18 2005/03/06 20:38:55 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
int frictionmod=2; /*poor man's physics - multipy targets weight by this amount */ | | int frictionmod=2; /*poor man's physics - multipy targets weight by this amount */ |
| | |
if(! op->weight) { /*shouldn't happen but if cone object has no weight drop out*/ | | if(! op->weight) { /*shouldn't happen but if cone object has no weight drop out*/ |
/*LOG (llevDebug, "DEBUG: arch weighs nothing");*/ | | /*LOG (llevDebug, "DEBUG: arch weighs nothing\n");*/ |
return; | | return; |
}else{ | | }else{ |
weight_move = op->weight +(op->weight * op->level) / 3; | | weight_move = op->weight +(op->weight * op->level) / 3; |