Commit Graph
128 Commits
Author SHA1 Message Date
bigguy345 6d0655ad7d SyncController OVERHAUL PHASE #2:
- Created SyncRegistry and SyncHandler
- Extracted all 14 SyncType family handling to their own SyncHandler
- Rewritten SyncController to accomodate the new framework
2026-03-31 21:44:23 +02:00
Kam c3096b320e Fix Critical and Attribute Handling for CNPC+ and DBC Addon 2026-03-03 04:06:34 -05:00
Kam b49316d9bb Counter, Dodge, Guard Abilities 2026-03-01 00:09:57 -05:00
Kam fc71fb5a33 Counter, Dodge, Guard Abilities [WIP] 2026-02-28 23:23:52 -05:00
Kam a023f3ec82 Better Ability Data Syncing 2026-02-24 18:20:57 -05:00
Kam 670b811e03 Better Ability Data Syncing 2026-02-23 21:46:23 -05:00
Kam d2d5bcc59b Various Fixes to CNPC Abilities
- super slow speed orb has weird properites, after awhile it flies weirdly
- Binding HUD scroll key to middle mouse button crashes client
- Zero Knockback still does knockback to CNPCs
- Charge: the telegraph is where you are looking but you actuually charge where your current body rotation is instead
- using slam mid air makes it not work correctly
- Beam disappears after going out of the render distance but still fires
- Player vortex can only pull one target

Slam now takes current height when being used to calculate damage
2026-02-22 21:19:44 -05:00
Kam 3de8cd49b6 Better Filename Handling for Abilities, Dash Directional Improvements, Fixed Duplicate Ability Name Handling 2026-02-22 16:33:01 -05:00
Kam 1e45d96253 Fix DBC Flying Issue with Abilities 2026-02-19 03:12:59 -05:00
Kam e5fc58366b Fix Death Ability Bug 2026-02-18 23:16:01 -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 0512588a7a Add Chained Abilities 2026-02-18 04:02:51 -05:00
Kam 21b1571868 Add flight checker to prevent abilities from affecting flying players 2026-02-16 01:15:52 -05:00
Kam 1ed012331b Enhance ability input handling: block movement during ability locks, ensure proper input suppression, and cancel abilities on logout, dimension change, death, and respawn 2026-02-15 23:15:50 -05:00
Kam 85db3df355 feat: implement player ability state management with rotation and position locking 2026-02-14 04:02:01 -05:00
Kam 9dae4bae55 feat: enhance damage handling for abilities and implement guard counter mechanics 2026-02-12 18:53:40 -05:00
Kam 1b8ad4dd90 Player Abilities 2026-01-30 05:01:54 -05:00
Kam a9b602713c Large Cleanup to Code Imports and Formatting 2026-01-22 23:07:38 -05:00
Claude d06e680350 Fix attack speed formula to check elapsed time properly
Instead of blindly resetting hurtResistantTime for fast weapons, now
checks if enough time has elapsed based on the weapon's attackSpeed:
- timeElapsed = maxHurtResistantTime - hurtResistantTime
- Allow attack when: hurtResistantTime <= maxHurtResistantTime - attackSpeed

Example: attackSpeed=10, maxHurtResistantTime=20
- Allows attack when hurtResistantTime <= 10 (10 ticks elapsed)
2025-12-31 00:52:06 +00:00
Claude 185a8bc917 Move hurt resistant time handling from LivingHurtEvent to LivingAttackEvent
- Remove legacy attack speed handling from ServerEventsHandler.LivingHurtEvent
  (was setting hurtResistantTime AFTER immunity check, too late)
- Add proper handling in ScriptPlayerEventHandler.LivingAttackEvent
  (sets hurtResistantTime=0 BEFORE immunity check for fast weapons)
- For weapons with attackSpeed < 20, bypass invincibility frames to allow
  rapid attacks to land
2025-12-31 00:45:26 +00:00
Kam ce8e38b6bd Update ScriptPlayerEventHandler.java 2025-12-30 19:41:02 -05:00
Kam 0c1d9908aa Update ScriptPlayerEventHandler.java 2025-10-28 01:53:39 -04:00
Kam 557b8720a4 Update ScriptPlayerEventHandler.java 2025-10-28 00:44:41 -04:00
Kam 9c541999f3 Optimize Imports 2025-07-23 14:22:52 -04:00
bigguy345 e0c9bfffa5 Fixed updateEveryXTicks being inconsistent due to using entity's ticksExisted. IAction instances now track their own tick 2025-07-03 18:29:53 +03:00
Kam 585ebdcc2f Add config for clearing action manager on death 2025-06-29 14:40:49 -04:00
bigguy345 dd4b0c8b4b ActionManager no longer cleared on entity's death/reset 2025-06-28 19:10:15 +03:00
Kam 7b6c7c1c33 Update ScriptPlayerEventHandler.java 2025-06-02 15:09:24 -04:00
Kam 2b6f63a3e3 Right Click Event for Players 2025-06-02 14:56:29 -04:00
Kam 1c04816054 Update ScriptPlayerEventHandler.java 2025-05-22 00:36:14 -04:00
Kam 43bc1eb81f Code Cleanup / Reformat 2025-05-20 13:53:26 -04:00
Kam 666504e0a3 Create better Action Handling
- Conditional Actions
- Action Manager on Player Data
2025-04-26 20:52:08 -04:00
Kam cb3eed7bf0 A BUNCH OF Attribute Fixes 2025-04-26 05:46:54 -04:00
Kam 0c745fc90b Fix Player vs Player Attribute Bug 2025-04-26 05:10:25 -04:00
Kam 4fd0c31bee Individualized Player Scripts Config 2025-04-09 01:55:34 -04:00
Kam cc148c02d7 Convert all getPlayerData() to PlayerData.get() 2025-04-08 22:48:32 -04:00
Kam 94d9d93360 Organize Player Events 2025-04-08 22:37:26 -04:00
Kam 04bfbef219 Fake Some Fake Player Issues 2025-04-08 21:09:18 -04:00
Kam 180d257024 Proper Reformating 2025-03-13 17:14:45 -04:00
Kam b1e4a6f0fe Fix Diagram Crash 2025-03-12 00:59:43 -04:00
Kam 6c1330552b Use Float 2025-03-09 13:52:19 -04:00
Kam e3fad91547 Attribute and Magic Damage Calculations for Players to MOBS, Players, NPCs 2025-03-06 04:07:16 -05:00
Kam 79f2b9b52c Fix Crash 2025-03-03 16:12:30 -05:00
Kam da0489296e Better Reorganization 2025-02-27 15:54:42 -05:00
Kam 4e0359902d Attribute THINGS 2025-02-27 13:47:09 -05:00
Kam c132db8299 Whoops 2025-02-27 11:54:56 -05:00
Kam f8b3dcee75 Rename to AttributeAttackHelper 2025-02-27 11:49:45 -05:00
Kam d482213c85 Change from Double to Float 2025-02-27 11:48:03 -05:00
Kam 50977543c0 More Item Attribute Things 2025-02-26 22:49:26 -05:00