Konstantin
|
db428faeeb
|
vcmi: allow obstacles to store another spells
It will be used as trigger spell, if set
If not set, it will be ignored
|
2023-03-30 14:41:40 +03:00 |
|
Konstantin
|
57c35f39ca
|
WIP: Moat placer
|
2023-03-30 14:41:40 +03:00 |
|
Konstantin
|
d90d00eeac
|
vcmi: rework ProxyCaster
Now ProxyCaster can be used without hero and can even cast something
with default values.
|
2023-03-30 14:41:40 +03:00 |
|
Konstantin
|
847437bbfa
|
BattleInfo: update bonus tree when unit is moved
This is a semi-dirty hack to force uncaching a bonuses with
UnitOnHexLimiter
|
2023-03-30 12:51:59 +03:00 |
|
Konstantin
|
4c08e6a0f9
|
vcmi: add UnitOnHex limiter
Bonus will be accepted, if unit stands in listed hexes
|
2023-03-30 12:51:59 +03:00 |
|
Konstantin
|
ffe24627e7
|
HeroBonus: change limiters to enum class
Also remove unused functions.
|
2023-03-30 12:42:24 +03:00 |
|
Konstantin
|
777818b388
|
HeroBonus: use 64 bit for tree counter (to be more robust)
|
2023-03-30 12:41:17 +03:00 |
|
Konstantin
|
0e69aac96f
|
HeroBonus: removed unused functions
|
2023-03-30 12:41:17 +03:00 |
|
Konstantin
|
89fd742c1a
|
NetPacks: add BATTLE type to GiveBonus
Will work as battlefield effect of current battle.
|
2023-03-30 12:41:17 +03:00 |
|
Konstantin
|
5716925b47
|
NetPacks: change GiveBonus enum to enum class.
|
2023-03-30 12:41:17 +03:00 |
|
Tomasz Zieliński
|
46a24043e8
|
Add back Mines.
|
2023-03-29 17:06:17 +02:00 |
|
Tomasz Zieliński
|
401f2342c0
|
Place Mines after Towns and Monoliths.
|
2023-03-29 16:54:22 +02:00 |
|
Tomasz Zieliński
|
5ed3c2d518
|
Place towns and monoliths first - preferably at the zone border.
|
2023-03-29 16:25:13 +02:00 |
|
Tomasz Zieliński
|
045942fd68
|
Fixed warning-as-error
|
2023-03-28 18:25:56 +02:00 |
|
Tomasz Zieliński
|
b184e80b72
|
Use the most suitable template for object
|
2023-03-28 17:53:08 +02:00 |
|
Tomasz Zieliński
|
49c029ea6c
|
Minor refactor
|
2023-03-28 17:13:24 +02:00 |
|
Ivan Savenko
|
8d0d5341db
|
Refactoring of hero specialty loading code:
- removed no longer used code
- follow creature upgrade chains (e.g. third upgrades)
|
2023-03-28 17:09:54 +03:00 |
|
Ivan Savenko
|
39ff7efb78
|
Fix crash on starting Launcher without H3 data
|
2023-03-27 22:33:36 +03:00 |
|
Ivan Savenko
|
b2f5042942
|
Merge pull request #1783 from vcmi/beta
Merge beta -> develop
|
2023-03-27 21:21:25 +03:00 |
|
Ivan Savenko
|
a4fe11d413
|
Merge pull request #1766 from vcmi/fix_editor_shortcut
Fix editor shortcut
|
2023-03-27 21:20:14 +03:00 |
|
Ivan Savenko
|
11088100a0
|
Merge pull request #1782 from korli/haiku
Haiku patch
|
2023-03-27 18:42:22 +03:00 |
|
Tomasz Zieliński
|
b3a457c71a
|
Skip objects with value too low to be placed in the zone.
|
2023-03-27 17:29:46 +02:00 |
|
Ivan Savenko
|
b875da108b
|
Merge pull request #1717 from SoundSSGood/backpack-limit-size
Introducing backpack size limit functionality
|
2023-03-27 17:17:49 +03:00 |
|
Ivan Savenko
|
e3b5db0ade
|
Merge pull request #1778 from rilian-la-te/fix-obstacle-removal-mechanincs
Fix landmines staying on battlefield after trigger
|
2023-03-27 17:17:14 +03:00 |
|
Konstantin
|
9a229d6e48
|
vcmi: really correct obstacle trigger
Now obstacle trigger really matches H3
|
2023-03-27 16:11:17 +03:00 |
|
Konstantin
|
8c1d6c8e13
|
CBattleInfoCallback: use obstacle only once
We should not affect creature by obstacle twice.
|
2023-03-27 15:45:41 +03:00 |
|
Konstantin
|
88a7b3141d
|
vcmi: really correct BFS
AFAIK, all is working as H3.
|
2023-03-27 15:45:41 +03:00 |
|
Jerome Duval
|
518f8d69e5
|
Haiku patch
|
2023-03-27 10:10:09 +02:00 |
|
Tomasz Zieliński
|
511a42f9b9
|
Oops missed that part.
|
2023-03-27 09:35:52 +02:00 |
|
Tomasz Zieliński
|
18a87d1ec0
|
Distribute limited objects evenly in zones with matching terrain
|
2023-03-27 09:09:58 +02:00 |
|
Tomasz Zieliński
|
a88e1dc1f6
|
Add only one template per object
|
2023-03-27 08:44:49 +02:00 |
|
Konstantin
|
5b50191af7
|
NetPacksLib: remove obstacle ACTIVATE* actions
Actually these actions was not working anyway.
|
2023-03-26 22:59:34 +03:00 |
|
Konstantin
|
26db14b7b4
|
vcmi: expert dispel now works mechanically correct
|
2023-03-26 21:25:26 +03:00 |
|
Konstantin
|
edc9812559
|
obstacle: correct logic as in OH3
Obstacle spells should not be cast if they are affected by native
terrain and enemy have at least one stack with native terrain
|
2023-03-26 21:22:38 +03:00 |
|
Konstantin
|
705afbb898
|
UnitEffect: it should not always assume smart
It is normal than non-smart spell will be cast on our units.
|
2023-03-26 21:19:49 +03:00 |
|
Konstantin
|
44a625aa6b
|
vcmi: check spell obstacles by type
|
2023-03-26 21:17:39 +03:00 |
|
Andrii Danylchenko
|
a0de223901
|
Merge pull request #1772 from vcmi/fix_invalid_native_terrain
Fix the case of invalid native town type
|
2023-03-26 13:19:01 +03:00 |
|
Ivan Savenko
|
9287d1b837
|
Merge pull request #1776 from vcmi/beta
Merge beta -> develop
|
2023-03-26 01:48:23 +02:00 |
|
Ivan Savenko
|
7477e4a8cc
|
Handle mods with "keepDisabled" propertly on client
|
2023-03-25 23:54:51 +02:00 |
|
Ivan Savenko
|
4eed0b2c9e
|
Added workaround for Dungeon towers
|
2023-03-25 23:54:51 +02:00 |
|
Ivan Savenko
|
8fbeff2a02
|
Fix movement over lowered drawbridge in Fortress
|
2023-03-25 23:54:51 +02:00 |
|
Ivan Savenko
|
5288e3761e
|
Merge pull request #1764 from IvanSavenko/selectable_spellcaster
Implemented support for multi-spell casters
|
2023-03-25 20:08:47 +02:00 |
|
Ivan Savenko
|
6f631a0aa7
|
Merge pull request #1759 from IvanSavenko/kills_in_tooltip
Show potential kill amount in attack tooltip
|
2023-03-25 20:03:27 +02:00 |
|
Tomasz Zieliński
|
00a77e3c5f
|
Probably found the root cause of terrain problems.
|
2023-03-25 18:52:18 +01:00 |
|
DjWarmonger
|
2c4cde060a
|
Merge pull request #1694 from vcmi/extra_rmg_monoliths
This could be controversial solution, but since there were no objections, I'll give it a shot.
|
2023-03-25 18:38:06 +01:00 |
|
DjWarmonger
|
114e7d196b
|
Merge pull request #1698 from vcmi/object_placement_tweaks
No objections, works fine for me as well.
|
2023-03-25 18:13:15 +01:00 |
|
Tomasz Zieliński
|
68a2bb78a5
|
Fix the case of invalid native town type :?
|
2023-03-25 18:08:46 +01:00 |
|
Tomasz Zieliński
|
9d7d4b6a5f
|
Fixed editor shortcut on Windows
|
2023-03-25 11:40:44 +01:00 |
|
Tomasz Zieliński
|
392061e97e
|
Fix loading towns which in OH3 editor have defined horde buildings level 1 - 5 (inluding random town).
|
2023-03-25 11:17:49 +01:00 |
|
Ivan Savenko
|
9a19feaf4a
|
Fix spellcasters with massive spells
|
2023-03-25 01:23:49 +02:00 |
|