| version 1.24 | | version 1.25 |
|---|
| | |
| /* | | /* |
| * static char *rcsid_shop_c = | | * static char *rcsid_shop_c = |
| * "$Id: shop.c,v 1.24 2003/09/13 05:02:12 mwedel Exp $"; | | * "$Id: shop.c,v 1.25 2003/10/26 06:56:57 mwedel Exp $"; |
| */ | | */ |
| | | |
| /* | | /* |
| | |
| | | |
| charisma = who->stats.Cha; /* used for SK_BARGAINING modification */ | | charisma = who->stats.Cha; /* used for SK_BARGAINING modification */ |
| | | |
| if (find_skill(who,SK_BARGAINING)) { | | if (find_skill_by_number(who,SK_BARGAINING)) { |
| charisma += (who->level+2)/3; | | charisma += (who->level+2)/3; |
| if(charisma>30) charisma = 30; | | if(charisma>30) charisma = 30; |
| } | | } |