1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-09 01:06:07 +02:00
Commit Graph

50 Commits

Author SHA1 Message Date
24d25730ad Changed checks for null with checks for hasValue 2024-01-20 16:41:10 +02:00
a32ef673f7 Merge pull request #3482 from IvanSavenko/extend_hota_bonuses
Extend hota bonuses
2024-01-15 13:47:13 +02:00
0d0d3d8c80 Renamed speed -> getMovementRange, remove misleading default parameter 2024-01-14 17:14:36 +02:00
5565b55bb0 Fixed handling of SPELL_AFTER_ATTACK without addInfo field 2024-01-14 17:13:33 +02:00
fc6a9924ee FIRST_STRIKE now supports ranged / melee subtypes, BLOCKS_RETALIATION
will properly block FIRST_STRIKE
2024-01-13 16:54:06 +02:00
bb670cfb82 Merged accurate shot bonus into death stare bonus 2024-01-13 15:55:07 +02:00
f6e0f46040 Merge pull request #3467 from dydzio0614/hota-fixes
Fix HotA creature abilities (add bonuses allowing implementing them)
2024-01-12 21:55:18 +02:00
M
9ee526d202 Fixes from code review 2024-01-11 21:10:22 +01:00
M
3a83de5e70 Simplified code a bit 2024-01-10 23:56:32 +01:00
M
bf7c6a4c3f Extract method for death stare / accurate shot, fix translation key 2024-01-10 23:23:10 +01:00
5dac8e2bbf Extract spell layers processing into separate method 2024-01-07 21:05:55 +01:00
310802ed87 Second version of spell layers bonus extension 2024-01-07 20:48:03 +01:00
bb925e4cb0 First version of sea witch / sorceress ability 2024-01-07 19:27:32 +01:00
b32c7beb05 Make one common handler for death stare and accurate shot 2024-01-06 18:26:13 +01:00
c828ccf5f4 Fix transmutation bonus activation 2024-01-05 19:39:38 +02:00
7283a4861e Initial version of ACCURATE_SHOT implementation 2024-01-04 22:27:51 +01:00
7cf7543747 Configurable ferocity bonus 2024-01-01 21:16:38 +01:00
898b8f3c71 Add initial version of Ferocity ability (for Ayssids) 2024-01-01 19:58:32 +01:00
85de3143ff Fixed Genie spellcasting logic to account for spell immunities 2023-12-24 01:13:19 +02:00
a7c838036d Workaround to avoid crash on invalid bonus 2023-12-10 16:32:43 +02:00
9a52131c82 Use battle side instead of player color for fire shield damage formula 2023-12-09 18:48:53 +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
e2cffd4c7b Merge pull request #3118 from rilian-la-te/glamor-slight-bonus-fixes
Small bonus fixes
2023-10-29 15:23:07 +02:00
f6b03201db BattleAction: handle obstacle for standing units 2023-10-28 18:34:11 +03:00
5cbf5031ea move SetStackEffect to a separate file 2023-10-24 01:27:52 +03:00
b88a8da4e8 Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
ac925bb786 Renamed new types for consistency with code style 2023-10-22 16:55:19 +03:00
80e6485965 MetaIdentifier now uses std::variant internally 2023-10-22 16:55:19 +03:00
b394158dc9 Bonus Source ID now uses metaidentifier 2023-10-22 16:55:18 +03:00
77facf9387 Implement missing functions, fixes linking errors 2023-10-22 16:54:56 +03:00
910ad50417 Fix client & server compilation 2023-10-22 16:54:48 +03:00
8058efb3bd Fixed morale and luck chance lookup. 2023-10-13 20:43:15 +02:00
f8541d0ae4 Merge branch 'vcmi/master' into 'vcmi/develop' 2023-09-15 13:59:02 +03:00
1f1f978328 Fixed battle replay 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
0240ee886d Converted (almost) all namespace enum's to enum classes 2023-08-25 13:38:02 +03:00
62cd8b12d4 Converted several namespace enums to enum class 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
b0eec85aca Merge pull request #2632 from rilian-la-te/resist-rework-pt1
Spell resistance rework: part 1
2023-08-25 01:13:57 +03:00
66f555f1f7 Fix error messages on bad morale 2023-08-24 23:34:33 +03:00
81242d3500 Fixed ending of battles due to retreat/surrender 2023-08-23 18:46:56 +03:00
8724181a0f vcmi: spell resistance rework
Now instead of XXX_IMMUNITY bonuses we have 2 bonuses with spellSchool
subtype: SPELL_SCHOOL_IMMUNITY and NEGATIVE_EFFECT_IMMUNITY.
All previous bonuses of subtype 0 is covered by SPELL_SCHOOL_IMMUNITY,
and all previous bonuses of subtype 1 is covered by
NEGATIVE_EFFECT_IMMUNITY. Unit tests are updated accordingly.
2023-08-23 17:52:16 +03:00
276c00b284 Removed excessive includes 2023-08-21 17:55:49 +03:00
67eaef3520 Fixed few more discovered regressions 2023-08-21 17:55:49 +03:00
013417fb7e Code cleanup 2023-08-21 17:55:49 +03:00
a1d3181a98 Unified spellcasting handling with other actions 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