forked from github/server
drain_exp an den alten erwartungswert wieder angepasst.
This commit is contained in:
parent
451542789f
commit
e8545f9c64
|
@ -976,8 +976,10 @@ drain_exp(unit *u, int n)
|
|||
}
|
||||
if (sk != NOSKILL) {
|
||||
n = min(n, get_skill(u, sk));
|
||||
if (learn_skill(u, sk, n) {
|
||||
change_skill(u, sk, -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue