26 Commits

Author SHA1 Message Date
7242ad44ed new effect aversion to death 2026-04-25 12:40:26 +03:00
83e743e1cd feat: implement RenderQueue, SpriteBatch for tiles and Low-Res rendering for lights/shadows 2026-04-25 00:52:59 +03:00
eecf24c471 meeeeooooow
added afterCast and beforeCast effect implementation
2026-04-24 13:22:10 +03:00
be386be601 added effect intensity 2026-04-24 11:13:47 +03:00
77f5a2abdc spelling fix: comp.. compar... КОМПАРАТОР 2026-04-23 21:58:48 +03:00
f59f32bd70 well i have no clue about what theres happening, but its works!! 2026-04-23 21:53:18 +03:00
7c5314b7c8 make another functions & add some cool light on spawn effect 2026-04-22 13:33:13 +03:00
d2599f8764 make animation work 2026-04-22 00:47:12 +03:00
351fdda60c I MAKE THIS SHIT TO WORK (pochti) 2026-04-21 23:35:48 +03:00
e3d9cafdd3 effects too hard i dont understand 2026-04-20 19:57:54 +03:00
a4b29af579 before after semantic (php my beloved gif) 2026-04-19 02:30:34 +03:00
f3d74440ce some silly additions to silly functions 2026-04-19 00:28:57 +03:00
9b10557435 some silly effect functions 2026-04-18 09:37:09 +03:00
8cb6e62845 эффекты и недописанная литературная шизофрения 2026-04-17 09:32:01 +03:00
ce7b93fecd - limit walking spells to actual path length
- rename previewType -> targetType
- add an icon to preview non-walkable tiles
2026-04-15 01:23:29 +03:00
5a35d8fe74 optimize spell target recount, add subtle animation when targets appear 2026-04-12 23:15:26 +03:00
fbba5cdbf0 add better spell target visuals 2026-04-12 22:34:50 +03:00
41c7759de6 Add a preview of possible target positions, done in a very stupid, ugly
and ineffective way.
2026-04-12 05:37:59 +03:00
2e96ec821d Add cooldown handling for spells and display in UI
- 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
2026-03-18 05:09:35 +03:00
ec816eb666 Refactor spell cast and task returns for optional tasks 2026-03-18 04:05:04 +03:00
d84fc4a7c2 Add path preview and refactor spells with new Spell API
- 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
2026-03-18 03:53:27 +03:00
ecec540251 Improve target validation logic in spell casting function 2026-03-18 02:03:30 +03:00
a6578ec8dd Refactor target distance check using query intersection
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
2026-03-18 02:01:59 +03:00
4431934e6b Refactor spell target selection to use composable queries
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.
2026-03-17 23:09:36 +03:00
2e6155aea4 Add target validation and refactor spells with new cast logic 2026-02-13 01:28:36 +03:00
95f2230302 Add simple spell framework and refactor dev_attack spell to use it 2026-02-13 00:43:54 +03:00