feature/spell-constraints #32

Merged
PeaAshMeter merged 11 commits from feature/spell-constraints into main 2026-03-18 05:11:55 +03:00
Owner

Улучшение системы спеллов, часть 1

  • учет кулдаунов
  • система выбора допустимых целей на теории множеств
  • общий конструктор спеллов
  • общие базовые проверки для уменьшения бойлерплейта
Улучшение системы спеллов, часть 1 - учет кулдаунов - система выбора допустимых целей на теории множеств - общий конструктор спеллов - общие базовые проверки для уменьшения бойлерплейта
PeaAshMeter added this to the Демо-версия демо-версии (aka технодемо) milestone 2026-03-18 05:11:39 +03:00
PeaAshMeter added 11 commits 2026-03-18 05:11:40 +03:00
spell
Introduce SpellTargetQuery abstraction for flexible target filtering.
Replace fixed target types with query-based system supporting union,
intersection, and exclusion of target conditions. Update spells
accordingly.
Replace manual distance check with combined targetQuery and
distance query intersection for cleaner spell targeting logic

Fix query combinators to correctly reference self in closures
- Add path preview support to Spell with update and draw methods
- Refactor spell:cast to always return a Task
- Simplify spell.new constructor and apply distance constraint uniformly
- Replace walk spell with new Spell-based implementation supporting path
  preview
- Remove debug print from target_test.lua
- Implement cooldown tracking in SpellcasterBehavior
- Decrease cooldowns at end of each round in turn order
- Prevent casting spells on cooldown in spell.cast
- Show cooldown overlay and block click on skill buttons
- Adjust font sizes for better UI consistency
PeaAshMeter merged commit 8fc4ca5483 into main 2026-03-18 05:11:55 +03:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ArcMutex/heroes-of-nerevelon#32
No description provided.