Commit Graph
1204 Commits
Author SHA1 Message Date
Kam b4334c2835 Fix Chained Abilities not Saving 2026-02-21 18:18:56 -05:00
Kam 61d253638a Fix Server Side Crash 2026-02-21 17:10:48 -05:00
Kam f538cebd03 Fix Custom Effects Preview with Height 2026-02-21 03:33:54 -05:00
Kam 5c975a339d Show Attributes on Items in Auction House 2026-02-21 03:24:20 -05:00
Kam 185f06822a Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2026-02-21 03:04:19 -05:00
Kam f2ac1f1817 Fix Effects Height 2026-02-21 03:04:14 -05:00
Kam 75a58f7e74 Condition Registry [2/2] 2026-02-21 03:03:42 -05:00
Kam 606bc093df Condition Registry [1/2] 2026-02-21 02:36:41 -05:00
Vidal 36babe51cc Added ConditionItem and increased the max amount of conditions an ability can hold to 5 2026-02-21 01:12:57 -03:00
Vidal 89e87b7656 Condition overhaul completed 2026-02-20 21:36:08 -03:00
Vidal 09c2085270 Overhauled Condition system 2026-02-20 18:58:41 -03:00
Kam 44118ec770 Complete Ability Hud System + Added-Per-Ability Cooldown System to be Reflected in Hud and Hud GUI 2026-02-20 03:47:12 -05:00
Kam fc8e2e9e7f Create Ability Hud Editor and Remove Ability Wheel. 2026-02-20 01:59:01 -05:00
Kam 235722fb3a Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2026-02-19 16:11:36 -05:00
Kam bb7791c691 Fix Textfield 2026-02-19 16:11:34 -05:00
Kam 024718e7f4 - Fix Sub GUI interactions for Built-In Abilities
- Allow Status Effect Selection from DBC Addon End
2026-02-19 15:39:06 -05:00
Kam a94219cd0d Fix Some GUI Saving Bugs in Abilities and Chained Abilities 2026-02-19 14:57:10 -05:00
Kam 69568160bc Fixes with GUI for Picking Abilities and Allow Concurrency on DBC Toggles and Zone Abilities 2026-02-19 14:09:29 -05:00
Kam e54a9a83bb Create IAbilityEffect + Concurrent Ability Support for Chained Abilities 2026-02-19 12:55:37 -05:00
Kam ff54c6d9af Enhance Textfield to allow CTRL Operations 2026-02-19 01:53:26 -05:00
Kam c3e4e2b54f Fix Textfield 2026-02-19 01:37:45 -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 1de1c4e710 Reformat Code 2026-02-18 05:13:51 -05:00
Kam 21e920426e Fix Sub Gui Spam Closing 2026-02-18 05:06:14 -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 4510b3bbd1 Large Auction Cleanup + Auction Events
- Auction Enums
- Better Notification Handling
- Auction Cancelation Events
- Lang Key Cleanup
2026-02-18 04:55:03 -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 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
Vidal 071cbc9890 Applied the fix to select gui as well 2026-02-17 18:38:58 -03:00
Kam c07e9e7006 Create Barrier Abilities + Heavy Refactoring 2026-02-17 14:32:13 -05:00
Kam 3beaf68815 Update GuiNPCAbilities.java 2026-02-15 21:44:36 -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 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 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 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