1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Commit Graph

2364 Commits

Author SHA1 Message Date
Mircea TheHonestCTO
49d8c84f89 namespace duplicate Nullkiller -> NK2AI 2025-08-16 00:53:52 +02:00
Mircea TheHonestCTO
b8bf8714a1 consistent renaming of ai into aiGw or aiNk and cbc 2025-08-16 00:22:18 +02:00
Mircea TheHonestCTO
6b6298fa33 consistent renaming of ai into aiGw or aiNk and cbc 2025-08-15 18:58:14 +02:00
Mircea TheHonestCTO
6692df58da consistent renaming of ai into aiGw or aiNk and cbc 2025-08-15 18:53:57 +02:00
Mircea TheHonestCTO
9a09654a0f consistent renaming of ai into aiGw or aiNk and cbc 2025-08-15 18:30:28 +02:00
Mircea TheHonestCTO
f641dc74a4 armyLossRatio 2 missed renames 2025-08-15 18:16:36 +02:00
Mircea TheHonestCTO
306f01610d AIGateway.cpp thread_local vars consistent renaming 2025-08-15 17:47:21 +02:00
Mircea TheHonestCTO
e861ac8fe7 revert to NKAI_TRACE_LEVEL 0 2025-08-15 16:26:50 +02:00
Mircea TheHonestCTO
cf782e8de1 typos 2025-08-15 16:12:42 +02:00
Mircea TheHonestCTO
e0ab4ee80a mirror thehonestcto:feature/code-readability-improvements in Nullkiller2 2025-08-15 02:13:45 +02:00
Mircea TheHonestCTO
b224bbe719 Merge branch 'develop' into feature/nullkiller2
# Conflicts:
#	AI/Nullkiller/Engine/PriorityEvaluator.cpp
2025-08-15 01:55:28 +02:00
Mircea TheHonestCTO
423eb70e2e Merge branch 'develop' into fix/monthly-random-monsters-hiding-nearby-danger 2025-08-14 23:21:20 +02:00
Mircea TheHonestCTO
a9ecaca81f squashed: BuildAnalyzer wip; Nulkiller decompose; Nulkiller makeTurnHelperPriorityPass; Nulkiller minor refactoring 2025-08-14 23:15:23 +02:00
Mircea TheHonestCTO
87417296aa Nulkiller tracing player status method;
minor renaming
2025-08-14 04:17:58 +02:00
Mircea TheHonestCTO
3b5af91aa9 treat->threat typo renaming;
Nulkiller minor refactoring
2025-08-14 03:47:32 +02:00
Mircea TheHonestCTO
010cd920e3 Nulkiller minor refactoring 2025-08-14 03:29:55 +02:00
Mircea TheHonestCTO
fd7f676dc4 AIGateway::makeTurn try catch always 2025-08-14 03:16:44 +02:00
Mircea TheHonestCTO
76e91f7689 AIGateway.cpp extracting methods that can be isolated/static 2025-08-14 03:09:42 +02:00
Mircea TheHonestCTO
372af15f4c revert HeroManager.cpp heroCapReached to original 2025-08-14 03:01:47 +02:00
Mircea TheHonestCTO
9c3cfd5478 nk2ai config 2025-08-13 18:47:59 +02:00
Mircea TheHonestCTO
2f5d90fdb3 nk2ai-settings.json 2025-08-13 18:44:08 +02:00
Mircea TheHonestCTO
810e3570b3 consistent and independent thread naming 2025-08-13 18:38:47 +02:00
Mircea TheHonestCTO
64324f4821 change namespace 2025-08-13 17:16:27 +02:00
Mircea TheHonestCTO
7f2c3ba556 revert file name without 2 to make it easier to compare new vs old 2025-08-13 17:10:29 +02:00
Mircea TheHonestCTO
fec11fc9f5 revert file name without 2 to make it easier to compare new vs old 2025-08-13 17:05:30 +02:00
Mircea TheHonestCTO
ffad6c6a43 cloned Nullkiller into Nullkiller2 2025-08-13 14:41:15 +02:00
Mircea TheHonestCTO
ce4016706e make the code easier to understand and debug 2025-08-11 21:47:25 +02:00
Mircea TheHonestCTO
1a79478196 added one comment regarding the spawning issue, good for remembering later on 2025-08-11 21:27:21 +02:00
Mircea TheHonestCTO
77a8b0f8e6 fix: monthly monsters aren't linked with other map objects at creation, leaving Nullkiller unable to see the next danger after killing a monthly monster;
2 minor log trace renaming to make them easier to spot in logs when debugging
2025-08-11 21:02:27 +02:00
Ivan Savenko
bc96515cec Simplify blukMoveArmy logic, fix army transfer bugs 2025-08-01 18:21:02 +03:00
Ivan Savenko
b4693a9d7f Merge pull request #5859 from IvanSavenko/antilag
Lag compensation for multiplayer
2025-07-30 12:02:36 +03:00
Ivan Savenko
00e0173f18 Merge pull request #5920 from Opuszek/fix_berserk
Implement berserk behavior if no unit in melee range or unit can shoot.
2025-07-30 12:01:58 +03:00
Opuszek
500fb3c134 Fixes segmentation fault when getting magic strength of a hero 2025-07-25 00:24:55 +02:00
Opuszek
6b97fc306d fix berserk 2025-07-22 23:28:53 +02:00
Ivan Savenko
241da5937d First semi-working version of antilag for hero movement 2025-07-19 18:04:20 +03:00
Ivan Savenko
a0a99d7311 Fix build, fix sonar 2025-07-13 23:03:45 +03:00
Ivan Savenko
b1aff17e82 Remove hardcoded checks for town portal from AI code 2025-07-11 18:03:18 +03:00
Ivan Savenko
f51c7c5c28 Removed hardcoded AI logic for Water Walk and Fly spell 2025-07-11 17:38:03 +03:00
Ivan Savenko
b0c511149d Removed hardcoded checks for Summon Boat spell 2025-07-11 17:11:01 +03:00
Ivan Savenko
2ad186130f Split MapDefines file on .h per class basis 2025-07-07 18:16:42 +03:00
Ivan Savenko
6ac57a7cfc Improvements to bonus system node types / propagators
- Node type is now set on construction and never changes
- Added army propagator that also checks for TOWN and HERO
- Renamed existing propagators to be in sync with enumeration
2025-06-25 17:34:20 +03:00
Ivan Savenko
1e3e2f665c Remove strange & unused double-selector logic 2025-06-24 12:06:23 +03:00
Laserlicht
cfc09389fa Merge branch 'develop' into cheats 2025-06-19 19:05:31 +02:00
Laserlicht
b0f5c4dd7b allow more than 8 skills 2025-06-19 19:02:39 +02:00
Ivan Savenko
3b6f93c365 Remove boarded boat as a separate call to player interfaces 2025-06-17 14:37:58 +03:00
Ivan Savenko
c279da0798 Minimize hardcoded logic for campaigns. Support for hota h3c's 2025-06-15 17:01:29 +03:00
Ivan Savenko
ce5ee6e1df Merge pull request #5769 from IvanSavenko/mysticism
Percentage-based mana regeneration
2025-06-04 21:11:45 +03:00
Ivan Savenko
07dcdc1f85 Percentage-based mana regeneration
Hota-like mysticism.

Bonus FULL_MANA_REGENERATION (Wizard well) has been replaced with
MANA_PERCENTAGE_REGENERATION bonus. Wizard well now has new bonus with
100% value.
2025-06-03 19:38:54 +03:00
Ivan Savenko
139f41c9b2 Implement STACK_EXPERIENCE_GAIN_PERCENT bonus
Suggested on Discord

- implements STACK_EXPERIENCE_GAIN_PERCENT that modifies stack
experience received by units after combat
- removed "EXPERIENCE" primary skill. Changes to experience are now
applied through separate netpack
2025-06-02 21:21:20 +03:00
Ivan Savenko
5c4ce61d57 Fix handling of double-wide creatures by BattleAI
One of recently added sanity checks was causing crashes during BattleAI
decision-making.

Actual reason turned out to be due to invalid requests generated by
BattleAI when attempting to attack enemy unit from behind with double-
wide unit.

This change should make BattleAI correctly estimate such attacks
2025-05-23 14:00:47 +03:00