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

290 Commits

Author SHA1 Message Date
Ivan Savenko
6328e4b4f8 Merge pull request #6002 from kdmcser/opening_battle_spells
Add addInfo support for OPENING_BATTLE_SPELL to set spell level
2025-08-14 11:19:53 +03:00
kdmcser
594ae27cb5 support setting spell master level in OPENING_BATTLE_SPELLS 2025-08-11 02:13:36 +08:00
Laserlicht
af2198e793 generate also for sequences 2025-08-01 21:55:19 +02:00
Ivan Savenko
50a240a858 Merge pull request #5916 from Laserlicht/generate_overlay_shadow
Generate overlay & shadow
2025-07-31 17:05:41 +03:00
Ivan Savenko
6720289682 Merge pull request #5919 from IvanSavenko/rmg_banned_entities
Support for banned game entities in random map templates
2025-07-17 16:03:08 +03:00
Laserlicht
af2f039ed4 Merge branch 'develop' into generate_overlay_shadow 2025-07-14 23:24:23 +02:00
Ivan Savenko
51408cccd8 Update docs 2025-07-14 11:26:41 +03:00
Ivan Savenko
f58d08e563 Support for banned game entities in random map templates
The following entities can now be banned in a random map template
definition:
- Hero
- Artifact
- Spell
- Secondary skill

The ban follows the same rules as banning via the map settings in the
map editor.

It is also now possible to bypass dependencies and access identifiers
from mods that are not dependencies when defining:
- Banned entities in random map templates
- the chance of a hero class appearing in a tavern of a specific faction
- the chance of a spell appearing in a mage guild of a specific faction
- the chance of a hero class receiving a secondary skill

For this to work, the identifier must be specified in full, e.g.
`modName:objectName`. If the specified mod is not active, the game will
silently ignore this entry.

This behaviour is not affected by mod load order. It is possible to use
this format to access a mod that has not yet been loaded.
2025-07-14 00:18:11 +03:00
Ivan Savenko
a0a99d7311 Fix build, fix sonar 2025-07-13 23:03:45 +03:00
Laserlicht
3c3eebb9d4 docs 2025-07-11 23:44:31 +02:00
Ivan Savenko
246010c13e Update docs, fix inconsistencies between config & code 2025-07-11 19:20:53 +03:00
Ivan Savenko
5caf43a63c Merge pull request #5900 from IvanSavenko/bonus_limiters
Bonus limiters refactoring
2025-07-09 11:12:11 +03:00
Ivan Savenko
09ac0f1806 Merge pull request #5851 from Laserlicht/max_range_spell
max range for spell cast
2025-07-09 11:05:37 +03:00
Ivan Savenko
e3be6cc513 Merge pull request #5892 from Laserlicht/spell_school
custom spell schools in spell book
2025-07-09 11:04:27 +03:00
Ivan Savenko
4af7949571 Bonus limiters refactoring
- Split massive `parseLimiter` method in smaller chunks
- Added alternative format for limiters with named parameters instead of
unclear `parameters` entry that often leads to bugs in mods. Old format
is still available.
- Added detailed validation for limiter format
- Converted vcmi json's to use new format
- Removed parameter-less `CREATURE_FACTION` and `SAME_FACTION` limiter.
They are unused in mods and have unclear use-case that can be replaced
by other limiters
- Expanded documentation on limiter types

All mods that were supported before should still be supported
2025-07-08 13:01:08 +03:00
Laserlicht
cf32f00472 hide bonus 2025-07-08 11:59:16 +02:00
Laserlicht
ca8cfaf0ad Merge branch 'develop' into max_range_spell 2025-07-08 11:36:23 +02:00
Laserlicht
a37f918a15 code review 2025-07-08 09:57:03 +02:00
Laserlicht
e224ef73ff docs 2025-07-07 03:42:23 +02:00
Laserlicht
e9c250c1f8 update docs 2025-07-07 03:32:21 +02:00
Laserlicht
3e6162a37a custom spell schools in spell book 2025-07-07 03:29:27 +02:00
Ivan Savenko
e2aac34e5b Added COMBAT_MANA_BONUS to Skyship, updated docs 2025-07-06 17:19:41 +03:00
Laserlicht
13a2b8781e Merge branch 'vcmi:develop' into max_range_spell 2025-07-03 23:25:06 +02:00
SoundSSGood
6752ab3a75 HAS_CHARGES_LIMITER 2025-06-30 18:39:57 +02:00
Ivan Savenko
bd88ae18aa Merge pull request #5844 from IvanSavenko/bonus_fixes
Fixes to bonus system functionality
2025-06-30 11:58:42 +03:00
Ivan Savenko
3817e1002b Merge pull request #5819 from Laserlicht/battle_anim
Using attack sprite
2025-06-30 11:56:54 +03:00
Ivan Savenko
e31f4367a4 Merge pull request #5814 from Laserlicht/mage_guild
Mage guild configurable
2025-06-30 11:56:46 +03:00
Ivan Savenko
d1f9c497a3 Fix handling of bonuses with negative values 2025-06-27 12:09:28 +03:00
Ivan Savenko
135768e763 Added TIMES_ARMY_SIZE updater 2025-06-26 15:10:55 +03:00
Ivan Savenko
dec4826b54 Update docs, remove old propagator names 2025-06-26 15:10:39 +03:00
Laserlicht
9bfe3a8195 max range for spellcaster 2025-06-25 15:50:31 +02:00
Laserlicht
30521bbc8f code review 2025-06-24 13:48:36 +02:00
Laserlicht
9fb671f5f3 docs 2025-06-24 13:16:09 +02:00
Laserlicht
e3adae7fbd Mage guild configurable doc update 2025-06-24 13:13:32 +02:00
Ivan Savenko
2d24c28996 Fix potential edge cases in TIMES_STACK_SIZE updater 2025-06-24 11:31:38 +03:00
Ivan Savenko
da0841dc9c Fix parsing of HAS_ANOTHER_BONUS_LIMITER parameters 2025-06-17 16:58:23 +03:00
Ivan Savenko
f9b4a36a5f Add missing docs for new bonus 2025-06-15 23:54:29 +03:00
Ivan Savenko
899701a87d Update docs, fix sonar 2025-06-15 17:01:29 +03:00
Ivan Savenko
2bf951a4cf Support for objects from mods as campaign scenario bonuses 2025-06-15 17:01:15 +03:00
Ivan Savenko
2b43d415a9 Fix docs, update spell immunity usage of addinfo, fix sonar 2025-06-15 14:37:18 +03:00
Ivan Savenko
f5c037137b Fix translations, fix Sonar 2025-06-15 14:37:17 +03:00
Ivan Savenko
54de24c687 Document new updaters, review old docs 2025-06-15 14:36:29 +03:00
Ivan Savenko
022b0f731c Fix configs, update docs, resolve discovered regressions 2025-06-15 14:36:29 +03:00
Ivan Savenko
d2178f8831 Simplify Necromancy code, update docs 2025-06-15 14:36:29 +03:00
Ivan Savenko
e0de65d56c Reworked & fixed DARKNESS bonuses and lookout tower / skyship logic 2025-06-15 14:36:29 +03:00
Ivan Savenko
a305ed28bb Support for loading custom bonuses, slightly less hardcoded Skeleton
Transformer
2025-06-15 14:36:29 +03:00
Ivan Savenko
527885de21 Added VULNERABLE_FROM_BACK bonus 2025-06-15 14:36:29 +03:00
Ivan Savenko
f71db8af07 Configurable Conflux University 2025-06-15 14:36:29 +03:00
Ivan Savenko
42c995bbd7 Add more internal links, fix formatting 2025-06-08 14:51:52 +03:00
Ivan Savenko
b0926c67b6 Apply suggestions 2025-06-07 19:40:54 +03:00