1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-15 13:33:36 +02:00
Ivan Savenko 8353bca34f Small refactoring of adventure map spell casting:
- Removed duplicated checks for DD possibility
- Moved most of spell-specific code from AdventureMapInterface to library
code
- AdventureSpellMechanics class now provides methods to check whether
spellcast is possible, similarly to battle spells
- If it is not possible to cast adventure map spell (e.g. no mana or no
move points) game will show infowindow immediately on clicking spellbook
instead of on cast attempt
- If hero does not have movement points for a DD, game will show correct
error message
- Added game settings 'dimensionDoorFailureSpendsPoints' due to
discovered H3 logic
2024-04-10 20:04:08 +03:00
..
2024-04-09 16:42:20 +03:00
2024-04-09 19:59:27 +02:00
2024-03-02 15:54:05 +02:00
2024-04-03 22:24:19 +02:00
2024-03-20 05:52:25 +03:00
2024-03-24 09:32:54 +02:00
2024-03-07 18:16:22 +02:00
2024-03-09 11:02:43 +01:00
2024-04-03 20:05:35 +02:00
2024-04-09 16:42:20 +03:00
2024-03-29 07:48:52 +02:00
2024-01-27 15:28:21 +02:00
2024-02-11 19:54:30 +02:00
2024-01-20 17:54:15 +01:00
2024-01-19 13:55:22 +02:00
2024-03-02 14:08:03 +01:00
2024-03-29 12:28:14 +02:00
2024-04-09 18:56:28 +03:00
2024-02-01 18:22:11 +02:00
2024-02-12 12:33:09 +02:00
2024-03-29 07:48:52 +02:00
2024-01-19 13:56:05 +02:00
2024-01-19 13:56:05 +02:00