1 | /* |
1 | /* |
2 | * CrossFire, A Multiplayer game for X-windows |
2 | * CrossFire, A Multiplayer game |
3 | * |
3 | * |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
5 | * Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
5 | * Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
6 | * Copyright (C) 1992 Frank Tore Johansen |
6 | * Copyright (C) 1992 Frank Tore Johansen |
7 | * |
7 | * |
… | |
… | |
79 | * It's far from perfect, and doesn't consider everything which |
79 | * It's far from perfect, and doesn't consider everything which |
80 | * can be considered, thus it's only used in debugging. |
80 | * can be considered, thus it's only used in debugging. |
81 | * this is only used with one of the dumpflags, |
81 | * this is only used with one of the dumpflags, |
82 | * and not anyplace in the code. |
82 | * and not anyplace in the code. |
83 | */ |
83 | */ |
84 | |
|
|
85 | int |
84 | int |
86 | new_exp (const object *ob) |
85 | new_exp (const object *ob) |
87 | { |
86 | { |
88 | double att_mult, prot_mult, spec_mult; |
87 | double att_mult, prot_mult, spec_mult; |
89 | double exp; |
88 | double exp; |