version 1.100 | | version 1.101 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.100 2004/06/16 07:09:44 mwedel Exp $"; | | * "$Id: attack.c,v 1.101 2004/09/10 07:03:45 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
for(pl=first_player;pl!=NULL;pl=pl->next) { | | for(pl=first_player;pl!=NULL;pl=pl->next) { |
if(pl->ob->contr->party_number==no && on_same_map(pl->ob, owner)) { | | if(pl->ob->contr->party_number==no && on_same_map(pl->ob, owner)) { |
nexp=(pl->ob->level+4)*share; | | nexp=(pl->ob->level+4)*share; |
change_exp(pl->ob,nexp, skop->skill, SK_EXP_TOTAL); | | change_exp(pl->ob,nexp, skill, SK_EXP_TOTAL); |
given+=nexp; | | given+=nexp; |
} | | } |
} | | } |