forked from github/server
parent
6f835b6447
commit
bea92bc0f1
|
@ -378,7 +378,7 @@ gm_skill(const char * str, void * data, const char * cmd)
|
|||
} else if (skill==NOSKILL || skill==SK_MAGIC || skill==SK_ALCHEMY) {
|
||||
/* unknown or not enough */
|
||||
mistake(u, cmd, "Dieses Talent ist unbekannt, oder kann nicht erhöht werden.\n", 0);
|
||||
} else if (num<0 || num>30) {
|
||||
} else if (num<0 || num>30+SKILLPOINTS*4970) {
|
||||
/* sanity check failed */
|
||||
mistake(u, cmd, "Der gewählte Wert ist nicht zugelassen.\n", 0);
|
||||
} else {
|
||||
|
@ -388,7 +388,11 @@ gm_skill(const char * str, void * data, const char * cmd)
|
|||
mistake(u, cmd, "Unzureichende Rechte für diesen Befehl.\n", 0);
|
||||
}
|
||||
else {
|
||||
#if SKILLPOINTS
|
||||
set_skill(to, skill, num*to->number);
|
||||
#else
|
||||
set_level(to, skill, num);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,3 @@
|
|||
#define TEACHDIFFERENCE 1
|
||||
#define PEASANT_ADJUSTMENT 1
|
||||
#define SKILLPOINTS 1
|
||||
|
||||
|
|
|
@ -120,5 +120,21 @@ SOURCE=.\korrektur.h
|
|||
|
||||
SOURCE=.\main.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE="..\common\settings-eressea.h"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE="..\common\settings-vinyambar-classic.h"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE="..\common\settings-vinyambar.h"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\common\settings.h
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
|
|
@ -2659,7 +2659,7 @@ korrektur(void)
|
|||
do_once("idlo", fix_idleout());
|
||||
do_once("szip", set_zip());
|
||||
do_once("heal", heal_all());
|
||||
do_once("fqco", fix_questcoors());
|
||||
do_once("fquc", fix_questcoors());
|
||||
|
||||
/* seems something fishy is going on, do this just
|
||||
* to be on the safe side:
|
||||
|
|
Loading…
Reference in New Issue