Commit Graph
3494 Commits
Author SHA1 Message Date
Kam e210bac2bf Fix Caster Positoning and Lock / Movement Dashing Abilities 2026-02-21 04:41:51 -05:00
Kam aa58cf8041 Fix DBC Turbo Bounceback in Liquid and Lava 2026-02-21 04:41:14 -05:00
Kam 0a6d9e1ef9 Merge remote-tracking branch 'origin/dev' into dev 2026-02-21 04:15:30 -05:00
Kam 5b52c817d7 Add New Dash Directional 2026-02-21 04:11:39 -05:00
Kam 4dde214f94 Fix Persistent Ability Entities 2026-02-21 04:11:28 -05:00
Kam 6369cb2b65 Better Animation Snapping 2026-02-21 03:48:50 -05:00
Kam f538cebd03 Fix Custom Effects Preview with Height 2026-02-21 03:33:54 -05:00
Kam ce310da9ca Merge remote-tracking branch 'origin/dev' into dev 2026-02-21 03:32:01 -05:00
Kam 9dac3d01d9 Show Attributes on Items in Auction House 2026-02-21 03:31:44 -05:00
Kam ef276b8145 Merge remote-tracking branch 'origin/dev' into dev 2026-02-21 03:28:29 -05:00
Kam 1b5584c585 Has Effect and Class Condition 2026-02-21 03:28:16 -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 8648e019a9 Changed some logic on conditions for automatically checking all filters 2026-02-21 03:24:27 -03:00
Kam 99de894d3f Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2026-02-21 01:10:06 -05:00
Kam a18503dfe9 Fix Domes 2026-02-21 01:09:39 -05:00
KamandClaude Opus 4.6 b3357a2751 Fix dome melee for all radii with server-side tick detection
MC's processUseEntity uses player.getDistanceSqToEntity(dome) for reach
validation, which computes center-to-center distance. For domes with
radius > 5, this always exceeds the 36-block threshold, making melee
impossible regardless of how close the player is to the surface.

Fix: server-side processMeleeHits() in onUpdate detects swinging players
near the dome surface via ray-sphere intersection, then calls
attackTargetEntityWithCurrentItem directly — bypassing MC's broken reach
check while preserving full damage calculation (enchantments, crits, etc).

Also adds adjustMeleeBoundingBox for client-side entity picking (places a
small 2x2x2 BB at the nearest sphere surface point toward the player),
and allows melee targeting from both inside and outside the dome.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 00:57:49 -05:00
KamandClaude Opus 4.6 e711a9012b Fix barrier solid/knockback behavior and dome melee targeting
- Rewrite solid system to use reactive crossing detection (prevPos comparison)
  instead of prediction-based teleportation that caused client rubber-banding
- Reduce knockback force (0.06 multiplier) so it pushes without fully blocking
- Add client-side solid prediction for smooth movement blocking (local player only)
- Fix dome melee from inside: canBeCollidedWith returns false when player is inside
- Fix dome melee from outside: getCollisionBorderSize set to 0 to prevent raycast
  from returning far exit point beyond reach distance
- Clean up dome bounding box: use setPosition/updateBoundingBox instead of custom setSize

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 23:55:32 -05:00
Vidal acb99b5c48 Added percent option to ConditionHPThreshold and added EQUAL comparison type 2026-02-21 01:21:33 -03: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 fb938c2b7d Fixed charge and orb active anim 2026-02-21 01:12:30 -03:00
Vidal 8384b6dd64 Merge remote-tracking branch 'origin/dev' into dev 2026-02-20 22:49:11 -03:00
Vidal 42b7d7e42e A few orb and beam changes and rotation sync for body and head during animations 2026-02-20 22:48:59 -03:00
luisc 0a85bb5a7b - fixed dome collisions
- changed dome alpha rendering
- removed open container check for abilities
2026-02-20 19:36:45 -06:00
Vidal 89e87b7656 Condition overhaul completed 2026-02-20 21:36:08 -03:00
somehussar a2e0bb50b9 Apparently the import got removed. 2026-02-21 00:27:31 +01:00
Kam 88dee1f544 Merge remote-tracking branch 'origin/dev' into dev 2026-02-20 18:17:11 -05:00
Kam f620e820e8 Dome, Panel Settings 2026-02-20 18:16:52 -05:00
somehussar 15486a1ea8 Merge remote-tracking branch 'upstream/dev' into dev 2026-02-21 00:04:33 +01:00
somehussar c121d0c4e2 Fix missing spawndata. 2026-02-21 00:03:48 +01:00
Vidal 09c2085270 Overhauled Condition system 2026-02-20 18:58:41 -03:00
Kam 14545818bd Fix Animation Syncing for Built in 2026-02-20 13:13:45 -05:00
Kam cb57e26d04 Modified Damage on Energy Projectile System 2026-02-20 03:51:11 -05:00
Kam a6265d7ba3 Forgot to Commit modifyProjectileDamage 2026-02-20 03:50:56 -05:00
Kam 4bd149c01b Check Barrier Collisions within Laser Shot 2026-02-20 03:50:41 -05:00
Kam bc9342c2eb Guard Ability now reflects it has Damage when it canCounter 2026-02-20 03:50:07 -05:00
Kam 5edc9b5047 Allow Externals to Modify Projectile Damage 2026-02-20 03:49:50 -05: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 877fe2b275 Fix Conditions Build Error 2026-02-20 03:33:58 -05:00
Kam 86fe9fd6bb Sweeper Height and Width Configs 2026-02-20 02:17:11 -05:00
Kam 747918c4dc Better Barrier Tracking 2026-02-20 02:17:00 -05:00
Kam 077fc3cb1d Better Telegraph Tracking 2026-02-20 02:16:40 -05:00
Kam 5e24a0cf36 Fixed Dazed Handling 2026-02-20 02:16:26 -05:00
Kam 0d871b16bf Line of Sight Handling for Cutter and Heavy Hit 2026-02-20 02:16:07 -05:00
Kam 1f31ae94c1 Charge and Slam Fixes 2026-02-20 02:15:51 -05:00
Kam 549dfaa1b9 Merge remote-tracking branch 'origin/dev' into dev 2026-02-20 01:59:46 -05:00
Kam fc8e2e9e7f Create Ability Hud Editor and Remove Ability Wheel. 2026-02-20 01:59:01 -05:00