1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

* Ammo Cart won't get move

* fixed crashes on equipping artifacts
* fixed Wisdom handling
This commit is contained in:
Michał W. Urbańczyk
2009-03-29 12:02:37 +00:00
parent d3246cc6de
commit cb31f5ada3
9 changed files with 35 additions and 28 deletions

View File

@@ -1112,7 +1112,7 @@ void CGameHandler::giveSpells( const CGTownInstance *t, const CGHeroInstance *h
ChangeSpells cs;
cs.hid = h->id;
cs.learn = true;
for(int i=0; i<std::min(t->mageGuildLevel(),h->getSecSkillLevel(7)+4);i++)
for(int i=0; i<std::min(t->mageGuildLevel(),h->getSecSkillLevel(7)+2);i++)
{
for(int j=0; j<t->spellsAtLevel(i+1,true) && j<t->spells[i].size(); j++)
{