Commit Graph
145 Commits
Author SHA1 Message Date
Kam 0e6ece56c6 Fix DBC Toggle Abilities and Wheel System 2026-02-18 22:19:18 -05:00
Kam 40a02b73e2 Fixes to some GUI and Chained Abiltiy Logic for Clearing States 2026-02-18 15:31:33 -05:00
Kam 48f6c162d5 Bugs fixes to Abilities
- Add Hit Scan to Laser
- Switching Dimensions Ability fix
- Chained Ability Targeting Conditions Fix
- Chained Ability Previewing
- Lang Keys Added
2026-02-18 14:10:55 -05:00
Kam 1569204d83 - Extend Energy Projectile Distance to 150 by Default
- Fix a bug with Wheel not Clearing for Adding / Removing Abilities
- Fix a bug not being able to resolve Built In Abilities
- Fix a Chained Ability Windup System
2026-02-18 14:07:05 -05:00
Kam 1de1c4e710 Reformat Code 2026-02-18 05:13:51 -05:00
Kam ca5461c94f Ability Wheel Accepts - Chained Abilities
Lang File Cleanup / Merging
Chained Ability Icon System
2026-02-18 04:57:28 -05:00
Kam 0512588a7a Add Chained Abilities 2026-02-18 04:02:51 -05:00
KamandClaude Opus 4.6 0311dc5806 Merge upstream dev: name-based storage, UUID/DisplayName, toggle system
Resolved conflicts in AbstractDataAbilities, DataAbilities, PlayerAbilityData
to integrate both toggle system (upstream) and chain delay tracking (local).
ChainedAbility now has UUID and DisplayName fields matching Ability pattern.
ChainedAbilityController rewritten: saves in abilities/chained/, dual-index
by name and UUID, legacy migration from chained_abilities/ directory.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-17 23:27:49 -05:00
KamandClaude Opus 4.6 2f814c1903 IAbilityAction interface, AbilityAction unified slot, and bug fixes
- Added IAbilityAction interface (internal + API) for unified Ability/ChainedAbility handling
- Created AbilityAction (replaces AbilitySlot) with 3 modes: INLINE_ABILITY, ABILITY_REFERENCE, CHAIN_REFERENCE
- Unified DataAbilities storage from dual lists to single List<AbilityAction>
- Added ChainedAbility, ChainedAbilityEntry, ChainedAbilityController
- Updated PlayerAbilityData with resolveActionKey() for chain: prefix resolution
- Added resolveAction/canResolveAction to AbilityController
- Fixed unsafe cast in DataAbilities.onDamage()
- Fixed NPE in GuiNPCAbilities for chain reference slots
- Fixed NPC chain interrupt double cooldown
- Fixed removeAbility() incorrectly removing chain references

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-17 23:22:03 -05:00
Kam 6514b217b9 Abilities are now Stored by Name not UUID. Refactor Built In and Toggleable Abilities 2026-02-17 23:08:12 -05:00
Kam f39d843c70 Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2026-02-17 21:03:58 -05:00
Kam 2bcf3b03d5 Refactoring and Bug Fixes 2026-02-17 21:03:54 -05:00
Vidal 90e146e7b0 Merge remote-tracking branch 'origin/dev' into dev 2026-02-17 23:02:39 -03:00
Vidal 8001a14d3a HeavyHit refactor
- Hit Delay ticks
2026-02-17 23:02:24 -03:00
Kam c7956a24a6 Abilities are now Stored by Name not UUID 2026-02-17 20:44:27 -05:00
Vidal 52269705b5 Merge remote-tracking branch 'origin/dev' into dev 2026-02-17 19:38:52 -03:00
Kam 89158cb10a Ability Potion Effect 2026-02-17 17:37:51 -05:00
Kam fb5029796f Update AbilityEnergyProjectile.java 2026-02-17 17:32:54 -05:00
Kam dcd9572024 Merge branch 'barriers' into dev 2026-02-17 17:32:48 -05:00
Vidal 55149ab5d1 Fixed the check that prevented built-in types from showing up in NPC Abilities 2026-02-17 18:31:47 -03:00
Vidal 7ed68b7efe Added dazed animation 2026-02-17 17:05:29 -03:00
Kam c07e9e7006 Create Barrier Abilities + Heavy Refactoring 2026-02-17 14:32:13 -05:00
Vidal cbc2b73625 Renamed AbstractEnergyProjectileAbility to AbilityEnergyProjectile 2026-02-17 01:49:07 -03:00
Claude 0ebdfafccd Add Energy Barrier and Slicer ability system
Implements four new energy ability types:

- Energy Dome: Spherical barrier centered on caster that blocks incoming
  energy projectiles. Configurable per-projectile-type damage multipliers,
  HP/durability and duration modes. RING telegraph.

- Energy Wall: Placeable flat energy panel with configurable dimensions
  and height offset (can float above ground). Optional launching mode
  fires the wall forward with damage/knockback.

- Energy Shield: Held energy panel that follows the caster and rotates
  with their look direction. Defensive blocking ability.

- Energy Slicer: Thin wide blade projectile (JJK Cleave inspired).
  Extends AbstractEnergyProjectileAbility. Piercing by default.

Architecture:
- EnergyBarrierData: HP, duration, per-type damage multiplier map
- EnergyPanelData: Panel dimensions, height offset, launch properties
- AbstractEnergyBarrierAbility: Shared base for Dome/Wall/Shield
- EntityEnergyDome, EntityEnergyPanel, EntityEnergySlicer entities
- RenderEnergyDome, RenderEnergyPanel, RenderEnergySlicer renderers
  with translucent inner/outer layers (voxel-blocky aesthetic)
- Projectile-barrier collision system in EntityAbilityProjectile

https://claude.ai/code/session_01EV9KpiykvW4rASz7ju5iTG
2026-02-16 08:54:55 +00:00
Kam f4ad421c2e Player Ability Checking
Enhance ability validation: add method to check if an ability can be resolved without deep copy and prune invalid unlocked abilities during load
2026-02-16 01:40:51 -05:00
Kam cd28f69a0e Enhance ability validation: add method to check if an ability can be resolved without deep copy and prune invalid unlocked abilities during load 2026-02-16 01:39:14 -05:00
Kam 21b1571868 Add flight checker to prevent abilities from affecting flying players 2026-02-16 01:15:52 -05:00
Kam 1fb52a4ae9 Refactor movement abilities: extract shared logic into AbilityMovement class for Charge and Dash abilities 2026-02-15 22:04:47 -05:00
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 ff9f9b9660 Enhance ability variant selection: inject a default "Base" variant when no built-in variants are available 2026-02-15 18:05:07 -05:00
Kam 8c2ef1084a Fix Burst Refire 2026-02-15 17:47:44 -05:00
KamandClaude Opus 4.6 e466ef6771 Remove Ki Cost from base Ability - DBC-specific concern
Ki Cost belongs in the DBC Addon's DBCAbilityStats system,
not in the base ability infrastructure.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-15 04:47:19 -05:00
Vidal 61405add97 Added Ki Cost to Ability 2026-02-15 00:40:43 -03:00
Kam 0f774a68fc Refactor ability handling: replace damage handler with ability extenders for improved lifecycle management and damage routing 2026-02-14 21:06:12 -05:00
Kam f8c75dd79b Fix Burst Refiring 2026-02-14 20:08:56 -05:00
Vidal 3be9104ec3 Made min and max double neg/pos infinity 2026-02-14 19:43:03 -03:00
Kam a23b199e7e Refactoring for Code Cleanup and Projectile Abstract Class Handling 2026-02-14 15:21:56 -05:00
Vidal a1f3f5184b Changed anchor offsets min values 2026-02-14 17:05:17 -03:00
Kam da4ee2e20d Refactor ability management: enhance deep copy functionality, streamline custom ability handling, and update versioning logic 2026-02-14 14:43:25 -05: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 befebdb9f7 refactor: enhance collision detection for ability movement 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 2c00ecae9e feat: add built-in ability handling and UI updates for ability management 2026-02-12 20:30:12 -05:00
Kam 9dae4bae55 feat: enhance damage handling for abilities and implement guard counter mechanics 2026-02-12 18:53:40 -05:00
Kam 6f9cafa141 Add Custom Particle Handling and Preset Handling to Trap and Hazards 2026-02-12 18:15:41 -05:00
Vidal bf3391a1a8 Made trap windup a bit slower to match the animation
Made the previously only hazard animation play on both hazard and trap
2026-02-12 18:46:11 -03:00
Kam 2d3106a256 Fix Zone Defaults 2026-02-12 15:01:19 -05:00
Kam 64ba087cc5 Merge Conflict Compile Issues 2026-02-12 14:07:03 -05:00