1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-05-31 22:59:54 +02:00
Ivan Savenko 283adc37d7 Unit stack rebalancing rework
- CStackInstance::count is now private with accessor methods
- CStackInstance::experience renamed to totalExperience and now stores
total stack experience (multiplied by stack size) to reduce rounding
errors
- CStackInstance::totalExperience is now private with accessors methods
- stack experience is now automatically reallocated on stack management
- Removed buggy BulkSmartRebalanceStacks pack, that mostly duplicates
BulkRebalanceStacks
- Renamed BulkSmartSplitStack to BulkSplitAndRebalanceStack to drop
unclear "smart" in name
- Reworked split-and-rebalance logic to correctly reallocate stack
experience
2025-05-01 18:18:30 +03:00
..
2024-10-28 21:58:35 +02:00
2024-10-28 21:58:35 +02:00
2024-10-28 21:58:35 +02:00
2024-09-28 02:34:18 +02:00
2024-10-23 15:01:56 +03:00
2025-05-01 18:18:30 +03:00
2025-05-01 18:18:30 +03:00
2025-02-21 16:53:13 +00:00
2024-02-29 12:45:08 +01:00
2023-04-05 22:33:12 +03:00
2024-07-29 00:54:58 +02:00
2024-08-13 22:40:37 +02:00
2025-02-20 13:09:38 +00:00
2025-05-01 18:18:30 +03:00
2025-02-15 15:44:41 +01:00
2023-10-16 00:04:29 +02:00
2025-02-21 16:54:06 +00:00
2025-03-10 00:04:44 +01:00