cf47fbb729
Merge pull request #3435 from IvanSavenko/bugfixing
...
[1.4.3] Bugfixing
2024-01-06 13:06:07 +02:00
296310e32e
Fix check for opponent side for mana drain
2024-01-05 17:56:00 +02:00
edb2ecd751
Fix possible overflow errors on leveling up beyond int64_t limit
...
- added separate giveExperience method instead of weird changePrimSkill
- experience is now always used in form of int64_t
- max supported level reduced from 201 to 197 to fit into int64_t
- fixed undefined behavior in experience calculation
2024-01-04 23:57:36 +02:00
86a3806bec
MetaString refactor to eliminate integer usage for identifiers
...
- entity names are now stored and serialized as text ID's
- added helper methods for convenience to get entities names to
metastring
2023-11-07 22:47:10 +02:00
184f5a72cc
Use toEntity/toXXX methods in Identifier instead VLC objects access
2023-11-03 16:03:29 +02:00
10e50548e7
Converted Component class to use VariantIdentifier instead of int
2023-11-02 12:00:04 +02:00
7e6ab5e87b
fix test & fix build & suggested changes
2023-10-29 17:46:14 +02:00
3c5527a222
ArtifactLocation now use ID for artHolder identification part3
2023-10-29 17:46:13 +02:00
ab2f6abb87
ArtifactLocation now use ID for artHolder identification part2
2023-10-29 17:46:13 +02:00
b88a8da4e8
Split off some netpack structures into separate files
2023-10-23 13:59:15 +03:00
910ad50417
Fix client & server compilation
2023-10-22 16:54:48 +03:00
037efdf5fc
Improvements to type safety of Identifier class
...
- Constructor of Identifier from integer is now explicit
- Lobby hero/town selection now uses Identifiers instead of int's
- Removed serialization workaround for hero portraits
- Added dummy objects for custom heroes portraits for ID resolver to use
- HeroInstance now stores portrait ID only in case of custom portrait
- Fixed loading of campaign heroes portraits on RoE maps
2023-10-04 18:05:23 +03:00
8c0d78f1d9
Added initiator-player to packs that add/remove/move objects
2023-09-19 19:24:34 +03:00
cb3cc84c61
Give bonus experience for capturing a town even if the enemy hero escaped.
2023-09-11 19:51:23 +02:00
6a5e71aa63
Award 500 experience for towns conquered during a battle.
2023-09-11 09:37:48 +02:00
1f1f978328
Fixed battle replay
2023-09-06 16:03:47 +03:00
8bdddd1324
Fix tests compilation
2023-09-06 16:03:47 +03:00
9fa7a93fb0
Properly pass battleID in all battle netpack's
2023-09-06 16:03:47 +03:00
3a88180494
Separated game and battle callback (server & client only)
2023-09-06 16:03:39 +03:00
fc4dfda00f
Added support for concurrent battles to gamestate and server
2023-09-06 16:03:02 +03:00
cc3ca9a41e
Timers fixes
2023-08-30 03:33:59 +04:00
b4c20734f3
Support timer logic for pve and pvp
2023-08-30 02:17:29 +04:00
e54287ea5d
Converted remaining identifier to new system
2023-08-25 13:38:02 +03:00
17d3d663ee
Converted creature ID and spell ID to new form
2023-08-25 13:38:02 +03:00
a84c5fa371
Fix battle replaying
2023-08-23 22:46:42 +03:00
81242d3500
Fixed ending of battles due to retreat/surrender
2023-08-23 18:46:56 +03:00
276c00b284
Removed excessive includes
2023-08-21 17:55:49 +03:00
6297140bf5
Start of stabilization - battles now start correctly
2023-08-21 17:55:49 +03:00
44832f3797
Split BattleProcessor into few more parts
2023-08-21 17:55:49 +03:00