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

* counterattacks

* spells learning
* no tooltips for objects under FoW
* working resource silo
* new system for simple unit abilities/states
* neutral monster army disappears when defeated
* synchronization between client and server processes
* fixed battle ending
This commit is contained in:
Michał W. Urbańczyk
2008-09-12 08:51:46 +00:00
parent 3b16d67b2e
commit e71b40ccc5
26 changed files with 309 additions and 83 deletions

View File

@@ -255,6 +255,14 @@ void CClient::process(int what)
}
break;
}
case 109:
{
ChangeSpells vc;
*serv >> vc;
std::cout << "Changing spells of hero "<<vc.hid<<std::endl;
gs->apply(&vc);
break;
}
case 500:
{
RemoveObject rh;