Commit Graph
1601 Commits
Author SHA1 Message Date
Kam ce24c0a4ff Enhance ability selection and display: add toggleable ability handling, improve ability name color coding, and update ability selection messaging 2026-02-15 19:21:30 -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 2dfdfb19d1 Client-side trade validation and stock update
Perform more complete client-side checks before predicting currency deductions in GuiNPCTrader.handleMouseClick. The method now verifies that the item can be given to the player (canGivePlayerClient), that the slot is enabled, and that stock is available, mirroring server-side checks. When a client-side purchase is accepted, availableStock is decremented if applicable. Added a private canGivePlayerClient(ItemStack) helper to check cursor-stack compatibility and max stack size. These changes prevent the UI from showing incorrect balances for trades the server would reject.
2026-02-15 18:15:56 -05:00
Vidal f03d93d6a8 Oopsie i swapped commits, last commit was changing min values on anchor offset fields 2026-02-14 19:43:34 -03:00
Kam a23b199e7e Refactoring for Code Cleanup and Projectile Abstract Class Handling 2026-02-14 15:21:56 -05:00
Vidal 19fb0ff5b7 Changed how float text fields handle negative values 2026-02-14 17:03:59 -03:00
Kam 2a1a5643d3 Potion Effect System + Manual and Remove Bulk 2026-02-14 04:04:13 -05:00
Kam 85db3df355 feat: implement player ability state management with rotation and position locking 2026-02-14 04:02:01 -05:00
Kam 910f3b3744 Add NPC inline edit support and adjust ability launch mechanics 2026-02-13 15:01:28 -05:00
Kam 0cb5a993c7 Merge remote-tracking branch 'origin/dev' into dev 2026-02-12 20:30:27 -05:00
Kam 2c00ecae9e feat: add built-in ability handling and UI updates for ability management 2026-02-12 20:30:12 -05:00
Kam 356ae65b69 Fix Dialog and Quest Category Bug 2026-02-12 20:28:50 -05:00
Kam 6f9cafa141 Add Custom Particle Handling and Preset Handling to Trap and Hazards 2026-02-12 18:15:41 -05:00
Kam 3500b0f55f Ability Trap & Hazard Update 2026-02-12 13:55:56 -05:00
Kam d76f5d40a4 Prevent Passive Factions from taking Damage 2026-02-08 01:46:13 -05:00
Kam 4c5e44fb22 Add anchor offset methods and update ability variant selection UI 2026-02-06 22:43:07 -05:00
Kam 74cae17ebd Burst and Dual Mode + Variant Ability Support 2026-02-06 20:25:52 -05:00
Kam af02b0ab1d Various Fixes 2026-02-06 16:28:38 -05:00
Kam 2e5c4c3bf4 Fix Preview Handling for Abilities, Fix Disc Positioning in Real World 2026-02-06 05:04:19 -05:00
Kam 70583743ce Fix Ability and Custom Button 2026-02-06 03:36:32 -05:00
Kam 4f7773eb3f Fix Preview Entity 2026-02-06 03:34:29 -05:00
Kam 095709b9d2 Add ability wheel and toggle abilities for enhanced gameplay 2026-02-05 22:49:40 -05:00
Kam 45a4313b70 Enhance ability system with position locking and duplicate name confirmation for presets 2026-02-04 21:50:39 -05:00
Kam 83b86a4538 Fix Scripting Config Syncing Issues & Fixed Auction Tooltip Rendering Bugs 2026-02-04 16:16:43 -05:00
Kam b719856762 Balance Prediction Client Side Trader 2026-02-04 14:45:47 -05:00
Kam db7ae16ee9 Merge branch 'cloner_tabs' into dev 2026-02-04 12:55:57 -05:00
Kam 2b62b9406d Folder Saving for Cloner Add 2026-02-04 12:55:06 -05:00
Kam a325c5c618 Full Screen Directory Mode for Cloner Tab Handling 2026-02-04 12:34:26 -05:00
Vidal 75447c62a9 Hotfix 2026-02-04 06:23:03 -03:00
Vidal 2c3ca1b5ed Added a filter to browse through abilities from different mods 2026-02-04 06:18:00 -03:00
Kam 65e29e42dd Tab Handling GUI 2026-02-04 01:18:38 -05:00
Kam c80dd448cb Fix GUI Tabs 2026-02-03 16:24:47 -05:00
Kam 769109d046 Fix Windup Ticks 0 not starting Abilities 2026-02-03 15:52:46 -05:00
Kam a49df51ad9 Fixes to Ability Load, Reference Handling 2026-02-03 15:09:20 -05:00
Vidal 2d47aa00d8 - Added standalone min max methods to FieldDef
- Increased lightning density and radius minmax on all energy abilities
- Made AbilityOrbBarrage interruptible during active state
- Renamed AbilityEnergyBeam to AbilityBeam
- Updated imports
2026-02-03 12:32:30 -03:00
Vidal c5822023a0 Added modifyVisibility to FieldDef
AbilityGuard tweaks
2026-02-03 07:45:02 -03:00
Kam fd85215592 Fix Ability Def Handler 2026-02-03 05:07:54 -05:00
Kam 8aa6e926f6 Some Ability Helpers 2026-02-03 04:27:54 -05:00
Kam 2c6ec0ce34 Better GUI handling for Ability Making System 2026-02-02 21:51:21 -05:00
Kam d3167df1b9 Fix to Type Tab 2026-02-02 20:40:17 -05:00
Kam 0cbc30f8cb Better GUI Handling for Abilities 2026-02-02 18:53:36 -05:00
Kam 911f185400 Fields Builder for Ability GUIs 2026-02-02 18:26:52 -05:00
KamandClaude Opus 4.5 0ff501bb16 Declarative ability GUI: replace 18 SubGui classes with FieldDef system
All ability GUI tabs (General, Target, Effects, Type, Visual) are now
fully declarative via FieldDef definitions. Deleted 18 SubGuiAbility*
classes (~3100 lines) and rewrote SubGuiAbilityConfig to use
GuiScrollWindow for every tab with a unified field renderer.

- Add FieldDef, FieldType, TabTarget, ColumnHint, TabDef gui framework
- Add getFieldDefinitions() to all 18 ability subclasses
- Add getBaseFieldDefinitions() to Ability.java for shared tabs
- Merge COLOR/EFFECTS into SUB_GUI with convenience factories
- Net reduction: ~3100 lines removed

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-02-02 16:17:37 -05:00
Kam 3651643f26 Fix GL Issues? 2026-02-02 14:59:55 -05:00
Vidal c168702970 WIP Animations Register 2026-02-01 20:09:12 -03:00
Vidal c39ce6b6d1 Fixed sync windup animation not being an ability property and getting overridden on gui init 2026-02-01 17:08:24 -03:00
Vidal f4db57875a Changed dual ability names 2026-02-01 06:45:29 -03:00
Vidal 44f7161c9f Added charge to animation and fixed some access modifiers 2026-02-01 01:50:28 -03:00
Vidal 71065fc520 Added Dual Disc Ability 2026-01-31 22:36:12 -03:00
Vidal e9f22dab2a Added Dual Orb Ability 2026-01-31 21:56:14 -03:00