Commit Graph
279 Commits
Author SHA1 Message Date
KAMKEEL 677d50fa03 Keep client-only sub-GUI types out of condition and zone descriptors
Same leak as the ability magic editor: @SideOnly strips the annotated method on a
server but not the synthetic lambdas it generates, so ConditionHasEffect,
ConditionQuestCompleted, AbilityTrap and AbilityZone all shipped methods whose
descriptors named a client-only GUI class. Each field is now built in the GUI
class it belongs to.
2026-08-11 05:00:02 -04:00
KAMKEEL dedbe94cd8 Keep client-only sub-GUI types out of Ability's method descriptors
The magic editor field was built with lambdas inside Ability.getAllDefinitions.
subGuiField is generic, so those lambdas took SubGuiAbilityMagic as their
descriptor type. @SideOnly strips the annotated method on a server but not the
synthetic lambdas it generates, so anything reflecting over Ability's declared
methods - Nashorn's adapter generator when a script touches an ability - hit
NoClassDefFoundError. Building the field in the client class keeps the type out
of Ability entirely.
2026-08-11 04:44:14 -04:00
KAMKEEL c79f5998d6 Stop NPC pathfinding fighting Charge's own movement
Charge drives the NPC with applyVelocityFlat but never declared that it does, so
locking movement during the active phase zeroed its motion outright while not
locking left the navigator running against it - no setting worked. It now
declares its own movement and locks both phases, so the navigator stays clear.
2026-08-11 04:24:40 -04:00
KAMKEEL 1acda0e6b0 Scale hazard damage to its interval and floor the interval at 5 ticks
The value is configured, stored and labelled as damage per second, but a pulse
applied it whole, so the real rate was damage per interval - it only matched at
the default interval of 20. A pulse now deals the share of a second it covers.
The interval is floored at 5 ticks, which also bounds how often a zone scans;
this replaces the per-tick membership check, which cost 20x the entity queries.
2026-08-11 04:23:59 -04:00
KAMKEEL 4341c15cf4 Scale melee damage dealt to barriers
Barriers are plain entities, so no LivingHurtEvent fires for them and nothing
scaled an incoming melee hit - vanilla handed over the bare attackDamage
attribute and a dome took one point per swing however strong the attacker was.
Attributes now apply, and modifyBarrierMeleeDamage gives addons the same seam
they already have for barrier health.
2026-08-11 03:43:38 -04:00
KAMKEEL 7cafa4f677 Make anchored lasers and rotation lock affect ability aim
- Anchored lasers re-derived their direction straight at the target every tick,
  discarding the rate-limited look vector, so track speed did nothing and the
  beam was undodgeable. They now converge on the point the owner is aiming at.
- Rotation-locked NPCs aimed energy projectiles and hit-scan projectiles from
  the target''s position, so the lock was purely visual. Both now respect the
  frozen heading.
2026-08-11 03:43:37 -04:00
KAMKEEL 6af66b8883 Fix NPCs getting stuck after using one ability
The terminal DAZED to IDLE transition was swallowed before the completion
switch ran, so the finished ability stayed set as the current one and the NPC
never started another until it died and reset. Guard abilities compounded it:
NPCs reuse a single ability instance and onExecute left pendingCompletion set,
ending every later activation on its first tick.
2026-08-11 03:25:51 -04:00
KAMKEEL 4a7c7b09c7 - Fix Counter infinite recursion
- Tags Get Packet
- Cooldowns Resetting on Dimension Change / Teleport
2026-04-20 21:00:54 -04:00
Vidal b989a89889 AbilityDefend event 2026-03-13 20:48:25 -03:00
Kam ab60fdbd12 Fix Chained Ability Icons + Chained Ability Per Cooldown Config Options 2026-03-13 18:52:17 -04:00
Kam 270cb26460 Better Copy Handling 2026-03-10 03:47:07 -04:00
Kam ba9ae62e51 Cloning for Scripts 2026-03-10 02:45:52 -04:00
Kam b960ef602c Add Absorbing Radius to Barriers 2026-03-09 17:26:55 -04:00
Kam 7712b21faa Fix Instance Scripts 2026-03-09 01:21:39 -04:00
Kam bc448c2af2 Fix Movement Blocking within Domes 2026-03-08 23:31:58 -04:00
Kam 27ea836f71 Better Texture Browsing for Ability Icons 2026-03-08 20:09:33 -04:00
Kam 4e33891ae5 Fixed / Improved Track Speed Handling on NPCs 2026-03-07 18:26:41 -05:00
Kam 111156da5a Completed Tag Support for Auras, Forms, Outlines, Effects, Linked Items, Abilities 2026-03-06 22:03:26 -05:00
Kam 34b3d9365a Fix Counter Damage Logic to Support DBC Addon 2026-03-06 17:26:52 -05:00
Kam 790b84e7d3 Fix Energy Projectile Fired Hook on Abilities 2026-03-06 06:04:47 -05:00
Kam 0f5a191bcf Prevent Movement Abilities through Barriers 2026-03-06 05:53:55 -05:00
Kam 37d4b97a44 Ability Checking 2026-03-05 03:15:47 -05:00
Kam 3919831857 LANGS 2026-03-05 02:20:26 -05:00
Kam e309794fd7 Custom Ability Telegraph Controls, Inner Radius Fix 2026-03-05 02:18:34 -05:00
Vidal 9cf43d9f7e Renamed AMMO to COUNT and cleaned up legacy code 2026-03-05 02:35:53 -03:00
Vidal bed959c658 ConditionCompare abstraction for Skill and DBCLevel 2026-03-04 19:27:27 -03:00
Kam 54e0ca6510 Fix Instanced Abilities Reloading per Usage 2026-03-03 22:15:49 -05:00
Kam 6f6e080ee0 Add Better Info Panel and Display Damage to Abilities 2026-03-03 16:32:16 -05:00
Kam d9f100d245 Cleanup Damage Handling Logic for CNPC+ and DBC Addon for better readability / context. Added Magic Data Support to Abilities 2026-03-03 14:55:50 -05:00
Kam 6489f75b7d Fix DBC Damage for Panel, Sweeper, Zones 2026-03-03 00:36:45 -05:00
Kam dad49f1867 Add Track Delay and Anchor Handling 2026-03-02 20:09:32 -05:00
Kam 36aab9e86e Fix Some LOGIC!!!! 2026-03-02 18:29:39 -05:00
Kam a077c7b32f Add Ignore I-Frames to Abilities 2026-03-02 03:58:18 -05:00
Kam f6a8edfef1 Fix Guard with DBC Damage 2026-03-02 02:58:03 -05:00
Kam d33276407e Update AbilityDodge.java 2026-03-02 00:15:43 -05:00
Kam b95aaefe8f Fix Vortex not working on Mobs 2026-03-02 00:15:33 -05:00
Kam 6500187ca1 Fix Anchor Launch Point 2026-03-01 20:57:17 -05:00
Kam 61d08882a9 Lots of Fixes 2026-03-01 16:19:50 -05:00
Kam b406382564 Fix Counter Damage for DBC / CNPC+ 2026-03-01 15:21:47 -05:00
Kam de312aaccc Fix Orb Icon 2026-03-01 05:00:12 -05:00
Kam b1d7082584 Launch from Anchor Point Setting 2026-03-01 04:11:21 -05:00
Kam 6f1a837296 Renaming for Better Schema 2026-03-01 03:00:17 -05:00
Kam 7202f74e78 Update API and Cleanup Unused Code 2026-03-01 02:50:44 -05:00
Kam f1a6d7488f Counter, Dodge, Guard Animation Hookup + Damage Fixes 2026-03-01 01:59:44 -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 d3d9dd352a Target Owner for Barriers on Reflection 2026-02-28 19:43:01 -05:00
Kam 1a0ce41e00 Add Free Aim Functionality for Beams 2026-02-28 19:25:13 -05:00
Kam de2fcea154 Animated Texture Support 2026-02-28 18:34:21 -05:00
Kam f71694e210 Fix Default Icon Logic in DBC Addon to work with Layering System of CNPC+ 2026-02-28 17:05:54 -05:00