version 1.126 | | version 1.127 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.126 2006/07/02 15:32:35 tchize Exp $"; | | * "$Id: attack.c,v 1.127 2006/08/19 17:03:31 ryo_saeba Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
maxdam = ndam; | | maxdam = ndam; |
maxattacktype = 1<<attacknum; | | maxattacktype = 1<<attacknum; |
} | | } |
| | /* Special case: death attack always deals all damage, as it should kill the monster |
| | * right away. */ |
| | if ( attacktype == AT_DEATH && ndam > 0 ) |
| | full_hit = 1; |
} | | } |
} | | } |
| | |