version 1.105 | | version 1.106 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.105 2005/03/20 16:20:07 akirschbaum Exp $"; | | * "$Id: attack.c,v 1.106 2005/04/15 00:41:34 cavesomething Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
* Fix bug in that we were changing the luck of the hitter, not | | * Fix bug in that we were changing the luck of the hitter, not |
* player that the object belonged to - so if you killed another player | | * player that the object belonged to - so if you killed another player |
* with spells, pets, whatever, there was no penalty. | | * with spells, pets, whatever, there was no penalty. |
| | * Changed to make luck penalty configurable in settings. |
*/ | | */ |
if(op->type == PLAYER && owner != op && !battleg) | | if(op->type == PLAYER && owner != op && !battleg) |
change_luck(owner, -1); | | change_luck(owner, -settings.pk_luck_penalty); |
| | |
/* This code below deals with finding the appropriate skill | | /* This code below deals with finding the appropriate skill |
* to credit exp to. This is a bit problematic - we should | | * to credit exp to. This is a bit problematic - we should |