Kröten und Schlümpfe können nichts lernen.

This commit is contained in:
Enno Rehling 2021-04-12 20:14:19 +02:00
parent 56beb0f4ab
commit ba51efb06b
5 changed files with 20 additions and 8 deletions

View File

@ -9,6 +9,7 @@
- Effektiv gezauberte Stufe von Zauber anhängig von Verfügbarkeit der Materialen. - Effektiv gezauberte Stufe von Zauber anhängig von Verfügbarkeit der Materialen.
- Ring der Macht und Steinkreis erhöhen nicht die Zauberkosten [2737]. - Ring der Macht und Steinkreis erhöhen nicht die Zauberkosten [2737].
- Limits für Vertrautenzauber korrekt implementiert. - Limits für Vertrautenzauber korrekt implementiert.
- Kröten und Schlümpfe können nichts lernen.
# 3.27 # 3.27

View File

@ -1,4 +1,4 @@
{ {
"configurations": [ "configurations": [
{ {
"name": "x64-Debug", "name": "x64-Debug",
@ -33,7 +33,18 @@
"buildCommandArgs": "", "buildCommandArgs": "",
"ctestCommandArgs": "", "ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x86" ], "inheritEnvironments": [ "msvc_x86" ],
"variables": [] "variables": [
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "${env.VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
"type": "STRING"
},
{
"name": "CMAKE_MODULE_PATH",
"value": "${workspaceRoot}/cmake/Modules",
"type": "STRING"
}
]
} }
] ]
} }

View File

@ -603,7 +603,7 @@
<attack type="3" damage="1d1"/> <attack type="3" damage="1d1"/>
<attack type="4" damage="1d1"/> <attack type="4" damage="1d1"/>
</race> </race>
<race name="toad" magres="20" maxaura="1" regaura="1" maintenance="10" weight="100" capacity="540" speed="1.0" hp="10" damage="1d2" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" giveperson="yes" giveunit="yes" getitem="yes" walk="yes"> <race name="toad" magres="20" maxaura="1" regaura="1" maintenance="10" weight="100" capacity="540" speed="1.0" hp="10" damage="1d2" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" giveperson="yes" giveunit="yes" getitem="yes" walk="yes" nolearn="yes">
<ai splitsize="1" learn="yes"/> <ai splitsize="1" learn="yes"/>
<skill name="crossbow" modifier="-10"/> <skill name="crossbow" modifier="-10"/>
<skill name="mining" modifier="-10"/> <skill name="mining" modifier="-10"/>
@ -627,7 +627,7 @@
<skill name="stamina" modifier="-10"/> <skill name="stamina" modifier="-10"/>
<attack type="4" damage="1d2"/> <attack type="4" damage="1d2"/>
</race> </race>
<race name="smurf" weight="1000" capacity="540" speed="1.0" hp="10" damage="1d2" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" giveperson="yes" giveunit="yes" getitem="yes" walk="yes"> <race name="smurf" weight="1000" capacity="540" speed="1.0" hp="10" damage="1d2" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" giveperson="yes" giveunit="yes" getitem="yes" walk="yes" nolearn="yes">
<ai splitsize="1" learn="yes"/> <ai splitsize="1" learn="yes"/>
<skill name="crossbow" modifier="-10"/> <skill name="crossbow" modifier="-10"/>
<skill name="mining" modifier="-10"/> <skill name="mining" modifier="-10"/>

View File

@ -584,7 +584,7 @@
<attack type="3" damage="1d1"/> <attack type="3" damage="1d1"/>
<attack type="4" damage="1d1"/> <attack type="4" damage="1d1"/>
</race> </race>
<race name="toad" magres="20" maxaura="1" regaura="1" maintenance="10" weight="100" capacity="540" speed="1" hp="10" damage="1d2" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" giveperson="yes" giveunit="yes" getitem="yes" walk="yes"> <race name="toad" magres="20" maxaura="1" regaura="1" maintenance="10" weight="100" capacity="540" speed="1" hp="10" damage="1d2" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" giveperson="yes" giveunit="yes" getitem="yes" walk="yes" nolearn="yes">
<ai splitsize="1" learn="yes"/> <ai splitsize="1" learn="yes"/>
<skill name="alchemy" modifier="-10"/> <skill name="alchemy" modifier="-10"/>
<skill name="crossbow" modifier="-10"/> <skill name="crossbow" modifier="-10"/>
@ -616,7 +616,7 @@
<skill name="stamina" modifier="-10"/> <skill name="stamina" modifier="-10"/>
<attack type="4" damage="1d2"/> <attack type="4" damage="1d2"/>
</race> </race>
<race name="smurf" weight="1000" capacity="540" speed="1" hp="10" damage="1d2" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" giveperson="yes" giveunit="yes" getitem="yes" walk="yes"> <race name="smurf" weight="1000" capacity="540" speed="1" hp="10" damage="1d2" unarmedattack="-2" unarmeddefense="-2" playerrace="yes" giveperson="yes" giveunit="yes" getitem="yes" walk="yes" nolearn="yes">
<ai splitsize="1" learn="yes"/> <ai splitsize="1" learn="yes"/>
<skill name="alchemy" modifier="-10"/> <skill name="alchemy" modifier="-10"/>
<skill name="crossbow" modifier="-10"/> <skill name="crossbow" modifier="-10"/>

View File

@ -469,7 +469,7 @@ bool check_student(const struct unit *u, struct order *ord, skill_t sk) {
int err = 0; int err = 0;
const race *rc = u_race(u); const race *rc = u_race(u);
if (sk < 0) { if (sk < 0 || sk >= MAXSKILLS) {
err = 77; err = 77;
} }
/* Hack: Talente mit Malus -99 koennen nicht gelernt werden */ /* Hack: Talente mit Malus -99 koennen nicht gelernt werden */