Commit Graph
38 Commits
Author SHA1 Message Date
Vidal a8ca3293fd Removed wrong @param 2026-01-30 20:25:15 -03:00
Vidal d9bf5132e7 Updated old anchor point method calls 2026-01-30 13:46:53 -03:00
Kam 1b8ad4dd90 Player Abilities 2026-01-30 05:01:54 -05:00
Vidal 601b0d721e Added an active animation for orb and updated windup and IDs 2026-01-30 00:33:32 -03:00
Vidal da33baf971 Added EnergyAnchorData, a wrapper for anchor points which also stores 3 flat offset values 2026-01-29 20:34:10 -03:00
Vidal babe58dc34 Added builtin animations to disc, laser and slam 2026-01-29 17:08:58 -03:00
Kam 38c0519c0a Refactor to Cleaner Class Setup 2026-01-29 14:19:57 -05:00
Kam 55658a7956 Ability Preview GUI 2026-01-28 20:43:32 -05:00
Vidal 216a3dbbf8 Added alpha to all abilities except beam 2026-01-28 20:49:16 -03:00
Kam c339e5edbc Fix Built In Animation 2026-01-28 16:57:49 -05:00
Kam e73054a529 Built In Animation System + Fixes to Defaults for Energy Projectile Abilities 2026-01-28 16:31:26 -05:00
Kam 7d2bba7b95 Better Lock Movement handling 2026-01-28 15:16:28 -05:00
Kam 83ccd25b33 Merge Conflicts + Scripting for Abilities 2026-01-28 14:44:19 -05:00
Vidal e599ed67f5 Added animations to these abilities 2026-01-27 22:19:26 -03:00
Kam c6810c05ea More Ability Fixes. 2026-01-27 16:43:47 -05:00
Kam 76fb9ee52f Fix Dazed Ticks and other smaller issues 2026-01-27 14:46:17 -05:00
Kam 747aae8337 Recovery -> Dazed. Better cooldown logic handling 2026-01-27 04:07:02 -05:00
Vidal 93486d306b Made animation fetching methods return Animation instead of IDs 2026-01-27 04:36:12 -03:00
Kam 0f44a3c6c6 Ability Anchor Points + Orb / Disc Summoning 2026-01-26 23:55:07 -05:00
Vidal 0484596a91 Updated imports and fields 2026-01-27 01:51:49 -03:00
Vidal 246baa9f55 Removed static class from AbilityController and made animations built into the enum 2026-01-27 01:49:08 -03:00
Vidal 39b6304bed Updated imports 2026-01-27 01:34:34 -03:00
Vidal c858f24e67 Implemented built in animations for abilities 2026-01-27 01:33:12 -03:00
Kam 563b6f7a26 Ability Effects 2026-01-26 22:02:51 -05:00
Kam 6c7c72b0f9 Lightning, Orb and Beam Improvements. Outer Glow Configurations for Abilities 2026-01-26 18:38:43 -05:00
Kam 651f2d0d84 More Abilities 2026-01-26 04:42:23 -05:00
Kam de043f4a25 Ability Changes 2026-01-25 20:39:01 -05:00
Kam bd7cafa482 Telegraph Scripting System 2026-01-24 02:35:26 -05:00
Kam 5992e1badc Some Ability Fixes to Defaults and Langs 2026-01-23 23:59:19 -05:00
Kam a9b602713c Large Cleanup to Code Imports and Formatting 2026-01-22 23:07:38 -05:00
Kam 63c704f80a Fix Compile 2026-01-12 05:55:49 -05:00
Kam 828e99d427 Revise ability logic and configs 2026-01-11 16:04:49 -05:00
Kam fdb2ff98d8 Large Ability changes, cleanup, langs, fixes. 2026-01-10 23:06:13 -05:00
Claude c7d04cb9d3 Simplify ability interrupt logic and reorganize GUI
- Remove interruptThreshold field entirely - interrupts now based on damage source type
- Update canInterrupt() to only allow interrupts from direct physical hits (not magic/fire/explosions)
- Interruption only occurs during WINDUP phase, not ACTIVE
- Reorganize SubGuiAbilityConfig into 4 tabs: General, Type, Target, Effects
- Increase GUI size to 420x216 for better layout
2026-01-10 10:32:24 +00:00
Claude b40fec2270 Clean up imports to use short class names
Replace fully qualified class names with proper imports in ability files:
- Added cpw.mods.fml.relauncher.Side and SideOnly imports
- Added IAbilityConfigCallback and SubGuiAbilityConfig imports
- Added SubGuiAbility* imports for each ability type
- Replaced @cpw.mods.fml.relauncher.SideOnly(...) with @SideOnly(Side.CLIENT)
- Replaced fully qualified return types with short class names
2026-01-10 10:03:10 +00:00
Claude f28d3483e6 Refactor Ability GUI to support third-party extensibility
This refactoring allows third-party mods to provide their own custom GUI
for ability type settings by extending SubGuiAbilityConfig.

Changes:
- Refactored SubGuiAbilityConfig as base class with GuiMenuTopButton tabs
- Added virtual methods: initTypeTab(), handleTypeButton(), handleTypeTextField()
- Added createConfigGui() method to Ability base class for GUI instantiation
- Created 15 SubGuiAbility* subclasses in new ability package
- Updated GuiNPCAbilities and GuiNpcManageAbilities to use ability.createConfigGui()

Third-party mods can now:
1. Create a custom Ability subclass
2. Extend SubGuiAbilityConfig with their own GUI
3. Override createConfigGui() to return their custom GUI
2026-01-10 09:48:37 +00:00
Kam 18bab07f33 Fix Slam 2026-01-09 16:22:39 -05:00
Kam 166c8aa228 Ability Push 2026-01-09 15:29:00 -05:00