Commit Graph
7 Commits
Author SHA1 Message Date
Kam 4dde214f94 Fix Persistent Ability Entities 2026-02-21 04:11:28 -05:00
Kam f7d0fbcf33 Rendering Fixes and Logic Fixes for all Energy Abilities 2026-02-19 19:27:56 -05:00
Kam e54a9a83bb Create IAbilityEffect + Concurrent Ability Support for Chained Abilities 2026-02-19 12:55:37 -05:00
Kam 1de1c4e710 Reformat Code 2026-02-18 05:13:51 -05:00
Kam 89158cb10a Ability Potion Effect 2026-02-17 17:37:51 -05:00
Kam 45d05b9157 Add trap presets & trigger-reveal visuals
Introduce client-side trap presets and a visual "trigger reveal" for traps, plus related entity/renderer changes.

- AbilityTrap: add TrapPreset enum and applyTrapPresetDefaults; wire a SubGuiTrapPresetSelector hook to apply presets from the GUI; pass visibility into created trap entities.
- EntityAbilityZone: add visible flag, TRIGGER_FLASH_STATUS state, setEntityState usage to notify clients of triggers, handleHealthUpdate to start client-side flash, and adjust construction/serialization accordingly.
- RenderAbilityZone: implement trigger-reveal visuals (revealFade, triggerReveal) that briefly show a burst when traps trigger, skip rendering for invisible traps unless revealing, and tweak flash/timing logic.
- Minor cleanup: remove/condense comment blocks and refactor noisy helpers across AbilityZone/AbilityHazard, plus language entry update and new SubGuiTrapPresetSelector GUI class.

These changes enable preset application for traps and improve client-side feedback when traps trigger.
2026-02-15 19:19:57 -05:00
Kam 3500b0f55f Ability Trap & Hazard Update 2026-02-12 13:55:56 -05:00