Kam
0b0dcdc58d
feat: implement player ability state management with rotation and position locking
2026-02-14 03:50:28 -05:00
Kam
ab1f0d7f92
Merge branch 'dev' into syntax-highlighter-unified
2026-02-13 18:43:11 -05:00
Kam
910f3b3744
Add NPC inline edit support and adjust ability launch mechanics
2026-02-13 15:01:28 -05:00
Kam
f4d7861a9d
fix: prevent special key detection when a screen is open
2026-02-13 14:52:58 -05:00
Kam
185d915928
refactor: simplify NBT reading for ability properties and potion effects
2026-02-13 14:17:17 -05:00
Kam
f16c8ae115
Merge branch 'dev' into syntax-highlighter-unified
2026-02-12 21:08:21 -05:00
bigguy345
ac223cbb53
IAction exceptions now report to script console
2026-02-13 04:06:59 +02:00
Kam
bc9fd53ae8
Beta 2
2026-02-12 20:35:03 -05:00
Kam
105d274955
Merge branch 'dev' into syntax-highlighter-unified
2026-02-12 20:33:44 -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
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
Kam
2d3106a256
Fix Zone Defaults
2026-02-12 15:01:19 -05:00
Kam
3500b0f55f
Ability Trap & Hazard Update
2026-02-12 13:55:56 -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
Kam
74cae17ebd
Burst and Dual Mode + Variant Ability Support
2026-02-06 20:25:52 -05:00
Kam
af02b0ab1d
Various Fixes
2026-02-06 16:28:38 -05:00
Kam
2e5c4c3bf4
Fix Preview Handling for Abilities, Fix Disc Positioning in Real World
2026-02-06 05:04:19 -05:00
Kam
70583743ce
Fix Ability and Custom Button
2026-02-06 03:36:32 -05:00
Kam
55cd8cc5b3
Fix Rotation Locking
2026-02-06 03:34:45 -05:00
Kam
4f7773eb3f
Fix Preview Entity
2026-02-06 03:34:29 -05:00
Kam
095709b9d2
Add ability wheel and toggle abilities for enhanced gameplay
2026-02-05 22:49:40 -05:00
Kam
45a4313b70
Enhance ability system with position locking and duplicate name confirmation for presets
2026-02-04 21:50:39 -05:00
Kam
476c6724b9
Merge branch 'dev' into syntax-highlighter-unified
...
# Conflicts:
# gradle-plugins~dev
2026-02-04 17:52:43 -05:00
Kam
83b86a4538
Fix Scripting Config Syncing Issues & Fixed Auction Tooltip Rendering Bugs
2026-02-04 16:16:43 -05:00
bigguy345
b63d76b6c0
Merge branch 'dev' into syntax-highlighter-unified
2026-02-04 22:50:04 +02:00
Kam
449a10711e
Defaulting Language Behavior
2026-02-04 15:30:32 -05:00
Kam
326626ad8e
Better Fix to Lock Movement and Rotation Locking during Abilities. Fix Interupting on Projectile Abilities
2026-02-04 14:48:54 -05:00
Kam
918025cd2b
Update ContainerNPCTrader.java
2026-02-04 14:45:53 -05:00
Kam
b719856762
Balance Prediction Client Side Trader
2026-02-04 14:45:47 -05:00
Kam
db7ae16ee9
Merge branch 'cloner_tabs' into dev
2026-02-04 12:55:57 -05:00
Kam
2b62b9406d
Folder Saving for Cloner Add
2026-02-04 12:55:06 -05:00
Kam
a325c5c618
Full Screen Directory Mode for Cloner Tab Handling
2026-02-04 12:34:26 -05:00
Vidal
75447c62a9
Hotfix
2026-02-04 06:23:03 -03:00
Vidal
2c3ca1b5ed
Added a filter to browse through abilities from different mods
2026-02-04 06:18:00 -03:00
Kam
65e29e42dd
Tab Handling GUI
2026-02-04 01:18:38 -05:00
bigguy345
bd9d0a3889
Merge branch 'dev' into syntax-highlighter-unified
2026-02-04 05:22:19 +02:00
Kam
8ed8b55bdc
Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev
2026-02-03 19:30:59 -05:00
Kam
1ddb1d19f8
Update MixinItemStack.java
2026-02-03 19:30:54 -05:00
Vidal
6ea7d0ac7d
More trajectory changes
2026-02-03 21:26:27 -03:00
Kam
50a0dce086
Update MixinItem.java
2026-02-03 16:37:08 -05:00
Kam
c80dd448cb
Fix GUI Tabs
2026-02-03 16:24:47 -05:00
Kam
769109d046
Fix Windup Ticks 0 not starting Abilities
2026-02-03 15:52:46 -05:00
Vidal
bc4f82e55f
Added API classes to Energy Projectile
2026-02-03 17:20:36 -03:00
Vidal
7ee6c8aa53
Merge remote-tracking branch 'origin/dev' into dev
2026-02-03 17:19:39 -03:00
bigguy345
7f4bc87d7a
Extract overload selection to OverloadSelector helper with scoring algorithm
...
Problem:
- schedule("TpGainAction", function(act){...}) resolved to wrong overload
- TypeInfo.getBestMethodOverload rejected candidates when argType == null
- Fell back to arbitrary overloads.get(0) based on reflection order
- Result: selected 1-arg varargs overload instead of 2-arg fixed-arity
Solution:
- Created OverloadSelector helper class implementing scoring algorithm
- Scoring tiers (lower is better):
* Arity mismatch: +10000 + distance penalty (hard disqualifier)
* Varargs: +1000 penalty (fixed-arity strongly preferred)
* Unknown arg type (null): +10 (penalty but doesn't disqualify)
* Compatible type: +5 (modest preference for matching)
* Exact match: +0 (best case)
- Closest arity fallback when no arity-applicable overload exists
- TypeInfo.getBestMethodOverload now delegates (4 lines vs 220)
Impact:
- Deterministic overload selection (no reflection-order dependence)
- schedule("TpGainAction", function(act){...}) now resolves correctly
- Unknown arg types no longer cause fallback to unrelated overloads
- Fixed-arity methods preferred over varargs when both viable
- Removed 220 lines of complex nested logic from TypeInfo
Testing:
- OverloadResolutionTest with 6 test cases (all passing)
- Verifies fixed-arity preference, unknown arg handling, arity fallback
2026-02-03 22:13:15 +02:00
bigguy345
6fc0bf4d6b
Fix expression typing gate to route JS function/lambda expressions into ExpressionParser
...
Problem:
- function(act){...} expressions not reaching ExpressionParser
- resolveExpressionType only checked containsOperators() or startsWith("(")
- Function expressions went through simple resolver and returned null type
Solution:
- Added looksLikeFunctionOrLambda helper (lines 4766-4773) to detect:
* JS functions: function(...)
* Arrow functions: =>
* Java lambdas: ->
- Updated gate condition at line 4144 to route these into ExpressionParser
- Function expressions now reach ExpressionTypeResolver.resolveJSFunctionType
Impact:
- SAM typing now works in pass-2 when expected type is known
- Fixes schedule("TpGainAction", function(act){...}) argument typing
- Enables proper overload resolution for function/lambda parameters
2026-02-03 22:12:43 +02:00