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

* added support for archery, offence and armorer secondary abilities

* hero's primary skills account for damage dealt by creatures in battle
* magical hero are given spellbook at the beginning
* added initial secondary skills for heroes
* minor fixes and improvements
This commit is contained in:
mateuszb
2008-09-29 11:03:30 +00:00
parent 917be0693d
commit 538ffb1579
13 changed files with 290 additions and 29 deletions

View File

@@ -27,7 +27,7 @@ SDL_Surface * Graphics::drawPrimarySkill(const CGHeroInstance *curh, SDL_Surface
char * buf = new char[10];
for (int i=from;i<to;i++)
{
SDL_itoa(curh->primSkills[i],buf,10);
SDL_itoa(curh->getPrimSkillLevel(i),buf,10);
printAtMiddle(buf,84+28*i,68,GEOR13,zwykly,ret);
}
delete[] buf;