Commit graph

1161 commits

Author SHA1 Message Date
Sollace
1cfc01d1e6 Change the color of the beam to match the spell it contains 2022-01-11 20:42:41 +02:00
Sollace
f18ed7eed6 Light spell shouldn't do anything when fired as a projectile 2022-01-11 20:41:40 +02:00
Sollace
1a1bc2396f Thrown spells now look like magic beams rather than the old thrown item 2022-01-11 18:20:09 +02:00
Sollace
0a93682662 Ensure previously-discovered traits properly update server-side when the registered values change for an item 2022-01-11 12:23:20 +02:00
Sollace
23211ba7b1 Change how item traits are defined to make my life easier 2022-01-11 12:22:24 +02:00
Sollace
dccce36445 Fixed bracelets being offset on armor stands (not needed any more since we fixed the model) 2022-01-11 12:21:35 +02:00
Sollace
4b820478f5 Set spells to be no gravity by default (so it's easier to aim) 2022-01-06 15:31:33 +02:00
Sollace
7578b02867 Fix bangle being in the wrong place for steve 2022-01-06 15:31:10 +02:00
Sollace
ea38a6f1ff Added a wing spreading animation 2022-01-05 18:54:54 +02:00
Sollace
188c3a5523 Set custom subtitles for our sounds 2022-01-05 18:54:33 +02:00
Sollace
eaa3c8a2a5 Fixed bracelet rendering offset on armor stands 2022-01-04 18:14:34 +02:00
Sollace
c6bb37546d Added sound effect when waving 2022-01-04 18:14:18 +02:00
Sollace
621c893daa Earth ponies can now kick at any time and the target location for the kick is more accurate to where a pony would kick. This means that if you're a pony, the tree has to be behind you. Humans still kick forwards. 2022-01-04 18:00:06 +02:00
Sollace
e805354043 Hook up a stomping animation 2022-01-04 17:58:31 +02:00
Sollace
9fc4c384cb Fixed bracelets being offset slightly 2022-01-04 17:58:16 +02:00
Sollace
fbc82ec6bc Added an emote command, further refine animations, add some new animations 2022-01-04 17:57:57 +02:00
Sollace
bce1e5c8c1 Added player animations for doing things like casting spells and kicking 2022-01-03 22:54:07 +02:00
Sollace
4e621434af Further optimise sphere rendering 2022-01-03 19:42:04 +02:00
Sollace
256cbdcabc Fixed spell crafting 2022-01-03 14:06:03 +02:00
Sollace
c3af3f9631 Fixed missing sound when equiping the bangle and amulets 2022-01-02 23:54:08 +02:00
Sollace
fe831f3099 The bangle of comradery is now visible on your arm in first person 2022-01-02 23:53:44 +02:00
Sollace
6f034f27fc Items such as the bangle and amulets will now render on pony models 2022-01-02 20:17:40 +02:00
Sollace
758c67bd0f Fixed bangle's broken texture 2022-01-02 18:17:00 +02:00
Sollace
497ed10cf4 If there isn't a primary ability, use the passive ability instead 2022-01-02 18:07:28 +02:00
Sollace
f5d4bfeb5e Fixed pick up ability not functioning correctly 2022-01-02 17:37:43 +02:00
Sollace
3d86feca0d Reduce the warmup time for firing a spell 2022-01-02 00:49:54 +02:00
Sollace
13402ae020 Fixed light and necromancy spells not producing particle effects when recalling their entities 2022-01-02 00:43:56 +02:00
Sollace
c27aad9154 Placed spells are no longer lost when the player dies 2022-01-02 00:43:21 +02:00
Sollace
e6b0ad9fa4 Allow spells and entities to retain their owner if the owner is offline (multiplayer) or in another dimension (nether), and handle situations where the owner is not around (getOwner() == null) 2022-01-01 22:08:50 +02:00
Sollace
e3d1f8c973 Fixed light sources not being removed after light-emitting entities are removed 2022-01-01 19:14:37 +02:00
Sollace
40714b243e Fixed particles not being respawned after the player has left the area 2022-01-01 17:24:10 +02:00
Sollace
3fa945d97a More work on the hud and spell dismissal dialogue 2022-01-01 17:23:28 +02:00
Sollace
7738f01d3a Exclude creative, spectator, and dead entities from the black hold and shield effects 2022-01-01 17:23:06 +02:00
Sollace
de27a543f5 Added lightning effects to the black hole 2022-01-01 01:23:42 +02:00
Sollace
fb632446ec Fixed broken texture when multiple particles are on screen 2022-01-01 01:23:29 +02:00
Sollace
c8a3b7d64d Fixed ability orders randomly changing 2022-01-01 01:03:22 +02:00
Sollace
9d5e72cbc1 Implement spell dismissal and fixed placed spells not appearing correctly 2022-01-01 01:01:01 +02:00
Sollace
7d0b7ae9f6 Fixed light spell not recalling its entities when cancelled 2022-01-01 00:02:20 +02:00
Sollace
1a3eb9f0f6 wip gui for dismissing spells remotely 2022-01-01 00:00:18 +02:00
Sollace
c84fda37c4 Send quick-time actions to the server so they can work properly 2021-12-31 16:17:41 +02:00
Sollace
d84a607046 Fixed frosted obsidian turning into water when mined 2021-12-31 15:47:29 +02:00
Sollace
9723bfd104 Move the unicorn shoot ability to the primary slot (second page) and add a separate ability specifically for cancelling spells 2021-12-31 15:40:08 +02:00
Sollace
1b17ab24c9 Move the collides predicate out of the RayTraceHelper class 2021-12-31 15:36:31 +02:00
Sollace
0532aafa83 Added tap, double-tap, and triple-tap gestures 2021-12-31 15:31:23 +02:00
Sollace
3a39f9c9e4 Added frosted obsidian 2021-12-31 15:29:30 +02:00
Sollace
117bbd797a Added a visual effect to entities spawned by the necromancy spell 2021-12-30 22:44:46 +02:00
Sollace
26fb68d50f Fixed necromancy spell constantly spawning new entities 2021-12-30 22:41:34 +02:00
Sollace
855c2b2a49 Fixed null exception in the dynamic target goal 2021-12-30 00:59:31 +02:00
Sollace
d03c0586cf Make the necromancy spell better 2021-12-30 00:59:17 +02:00
Sollace
fb3a642acd Prevent the death animation from playing when recalling entities spawned by the necromancy spell 2021-12-29 21:24:02 +02:00
Sollace
9f5d20e011 Fixed rain not properly starting when throwing a cloud in a jar and added lightning effects to the storm in a jar 2021-12-29 21:16:12 +02:00
Sollace
26df9fc8d3 Fixed missing particle effect when throwing a cloud in a jar 2021-12-29 21:15:46 +02:00
Sollace
0f4e72a55b Change the ice spell to produce frosted ice instead of regular ice 2021-12-29 20:13:23 +02:00
Sollace
2da817bc64 Tweaked a bunch of colours 2021-12-29 20:13:07 +02:00
Sollace
9ef8a78a79 Fixed spells appearing in different ordering in the creative inventory 2021-12-29 18:15:37 +02:00
Sollace
7a05efa23a Some minor cleanup 2021-12-29 18:11:32 +02:00
Sollace
18fffef06a Change the empty key for spells to "none" 2021-12-29 17:53:08 +02:00
Sollace
5939ce3d1a Implement gui for viewing spell recipes 2021-12-29 17:50:19 +02:00
Sollace
3f80822deb The ice spell will now clear out a space around the player when used while submerged 2021-12-29 17:48:47 +02:00
Sollace
097aa1d8cf Catch exceptions from ticking spells 2021-12-29 17:18:26 +02:00
Sollace
41e178b8d6 Fixed spells that affect blocks not working 2021-12-29 17:18:04 +02:00
Sollace
e7e7244758 Added (rough) initial recipes for all the spells 2021-12-28 18:40:51 +02:00
Sollace
fb6031b89f Added a homing ability to the firebolt spell 2021-12-28 18:22:47 +02:00
Sollace
de6f9a92d4 Added /trait 2021-12-28 18:22:08 +02:00
Sollace
3cec6de107 Switch to using the vanilla tag for blocks that mine with a pickaxe 2021-12-28 03:35:39 +02:00
Sollace
6e24ca9c6f Observe spawn protection and mob griefing rules when trying to apply spells that affect blocks 2021-12-28 03:32:59 +02:00
Sollace
c31eba5f04 Prevent transforming into paintings, item frames, or leash knots. Fixes #39 2021-12-28 02:58:07 +02:00
Sollace
8edf3cee6c Fix #40 2021-12-28 02:42:56 +02:00
Sollace
75fbfb9c11 Use the lightning particle instead of lightning entities 2021-12-28 02:20:08 +02:00
Sollace
f1c4d8301e Added a custom lightning particle for doing lightning type things 2021-12-28 02:19:26 +02:00
Sollace
75dfb85092 Finish the light spell 2021-12-27 23:14:46 +02:00
Sollace
00758b0c15 Added a light spell 2021-12-27 14:08:21 +02:00
Sollace
a8d2a28900 Rename the fairy into a twittermite 2021-12-27 14:05:31 +02:00
Sollace
7ec631ddcd Improved following behaviour of fairies 2021-12-27 13:45:44 +02:00
Sollace
135c8933fd Add sounds for the fairy 2021-12-27 13:04:50 +02:00
Sollace
b7e119a57b Use CompletableFuture for delaying things 2021-12-27 13:04:35 +02:00
Sollace
596e01cc24 Added fairies 2021-12-27 02:15:48 +02:00
Sollace
6a84f5d8b6 Fixed magic particles not randomising their colours when they're supposed to 2021-12-27 02:15:17 +02:00
Sollace
baa3700748 Fixed crash when ticking a projectile with no loaded owner 2021-12-27 02:14:48 +02:00
Sollace
f402403964 Black holes shouldn't function when fired as a projectile 2021-12-26 20:35:43 +02:00
Sollace
878ed2563b Fixed particles not being removed when attached to a projectile 2021-12-26 20:35:25 +02:00
Sollace
6337b86219 Fixed incorrect block state conversion turning water into ice 2021-12-26 20:35:05 +02:00
Sollace
bb29d97ff3 Fixed jars, fixed particles not respawning correctly when reloading a world, fixed some behaviours with black holes 2021-12-26 20:13:28 +02:00
Sollace
76506665bc Fixed disk particles and add improved physics for the dark vortex 2021-12-26 16:11:34 +02:00
Sollace
9460957c56 Fixed magic particles not using the correct colours 2021-12-26 16:09:59 +02:00
Sollace
df2706cfc6 Fixed not being able to toggle delegated spells 2021-12-26 11:13:32 +02:00
Sollace
613b39436f Fixed placed spells not functioning correctly and slot.contains not matching delegated spells 2021-12-26 10:50:16 +02:00
Sollace
56af8f80ba Added general particle effects that follow a point of entity 2021-12-26 10:49:34 +02:00
Sollace
7ad82f0bb2 Fixed crash with spellcast entities accessing lighting buffers when they mustn't (TODO: make this better somehow) 2021-12-26 10:48:01 +02:00
Sollace
59db55aa63 Update player dimensions when the flight type changes. Should fix #38 2021-12-24 23:00:26 +02:00
Sollace
be0317de1b Move target selection for shields into a separate class 2021-12-24 22:59:20 +02:00
Sollace
7eacbc7f4a Cleanup and remove some unused code 2021-12-24 22:59:03 +02:00
Sollace
668d5bc787 A little more cleanup and refactoring 2021-12-24 19:09:17 +02:00
Sollace
8ff6514306 Fixed black hole behaviour 2021-12-24 18:37:23 +02:00
Sollace
17c175c8ce Play a sound when casting a spell successfully 2021-12-24 18:36:12 +02:00
Sollace
301c68218e Wrap text in the gemstone's tooltips 2021-12-24 18:35:12 +02:00
Sollace
3d2a50655b Change cost estimate for spellcasting to properly account for whether a spell is active or not 2021-12-24 16:37:27 +02:00
Sollace
62e5ab01cc Tiny bit of cleanup 2021-12-24 16:36:40 +02:00
Sollace
d026a6c06a Change to check for a particular spell rather than any spell 2021-12-24 00:37:53 +02:00
Sollace
063d4e6dd2 Change particle handles and linking to be a little more robust. Should help with some cases where duplicate particles happen 2021-12-24 00:20:47 +02:00
Sollace
3806799cf2 Added dark vortex spell and add default traits to more spells 2021-12-23 20:12:30 +02:00
Sollace
996181c097 Some more tweaks and adjustments:
- Adding traits to some existing spells
- Removed curses (and their respective duplicate spells)
- Spells can now control how they are applied and some spells will now correctly apply as area effects
2021-12-23 19:46:25 +02:00
Sollace
b11fabdecb Unicorns can now equip spells to their active and passive ability slots 2021-12-23 18:52:40 +02:00
Sollace
f10dcb59ec Distance the disguises system from the magic system and make it possible to have different diguise spells 2021-12-22 16:43:17 +02:00
Sollace
e3bd201f0a Fix the firebolt spell 2021-12-22 15:05:46 +02:00
Sollace
c30eac20c3 Fixed casting 2021-12-22 15:05:16 +02:00
Sollace
eca5ab3e2b Fixed dead spells not being removed correctly 2021-12-22 14:15:51 +02:00
Sollace
f2a6bf36d4 Fix bugs with spell syncing 2021-12-22 13:12:51 +02:00
Sollace
2489ea7769 Clean up particle code a little 2021-12-22 13:10:45 +02:00
Sollace
aec9692439 Fixed crash upon joining a world 2021-12-22 11:15:21 +02:00
Sollace
2cae459eb8 1.17 -> 1.18 2021-12-22 11:15:09 +02:00
Sollace
f3d6c7ce28 Work on allowing more than one spell to be attached 2021-12-21 18:26:23 +02:00
Sollace
bb50b20be4 Slightly clean up flight and dimensions predicates 2021-12-12 13:10:24 +02:00
Sollace
2cb57f85f2 Change catapult to also push entities forward in the direction you're looking 2021-12-12 12:49:51 +02:00
Sollace
1b82f7e9b5 Added the firebolt spell 2021-12-12 12:49:30 +02:00
Sollace
c0eeb5b5e1 Added the catapult spell type 2021-11-22 00:48:40 +02:00
Sollace
9bb2818c2c Fixed serialization of delegate spell types 2021-11-22 00:48:22 +02:00
Sollace
7d830a3474 Added a feather fall spell 2021-11-21 18:50:02 +02:00
Sollace
cbc8c6a6de Fixed slots rendering in front of tooltips 2021-11-21 18:48:56 +02:00
Sollace
536172791e Fix layering of slot textures 2021-11-21 00:25:30 +02:00
Sollace
5bb982ab85 You can now see which traits are unread and mark them read by clicking 2021-11-21 00:25:14 +02:00
Sollace
d45c1aa146 Display a gem in the output slot as a hint for what you're supposed to put there 2021-11-20 16:40:53 +02:00
Sollace
1da86cda06 Add a toast message when discovering traits 2021-11-20 16:40:23 +02:00
Sollace
5b9f548585 Fixed z-index of tooltips putting them behind the paging buttons 2021-11-18 00:10:29 +02:00
Sollace
ed3155988a Fix cutoff at the bottom of the discoveries container 2021-11-18 00:10:06 +02:00
Sollace
8a6c23f18e Populate the tooltips for traits 2021-11-18 00:09:40 +02:00
Sollace
bee5e0049a Add a page flipping animation to the spellbook 2021-11-18 00:09:06 +02:00
Sollace
8124731f58 Fixed traits not appearing correctly in tooltips 2021-11-17 22:33:35 +02:00
Sollace
c8fc88711d Only play a sound when the stack changes 2021-11-17 22:33:20 +02:00
Sollace
68bcd5a467 Implement various parts of the spellbook screen 2021-11-17 21:00:59 +02:00
Sollace
60d5d56864 Added icons for each trait and display known traits on item tooltips 2021-11-14 01:18:12 +02:00
Sollace
0beaaa4603 Fixed exception when encountering unknown traits whilst loading from json 2021-11-13 23:27:57 +02:00
Sollace
aed4efcbbe Fixed uncaught exception when loading trait maps 2021-11-13 23:07:21 +02:00
Sollace
2f1d473262 Implement traits to modify spell behaviours 2021-11-13 19:31:45 +02:00
Sollace
78a33deb72 Assign traits to items (wip) 2021-11-13 19:31:24 +02:00
Sollace
338491d052 Expand on spell crafting 2021-11-13 00:05:42 +02:00
Sollace
7949ccff2e Play a sound when crafting succeeds 2021-11-11 20:51:58 +02:00
Sollace
8aea7d326f Implement crafting using traits, and trait discovery, AND show known traits in item tooltips 2021-11-11 20:51:25 +02:00
Sollace
1768420b66 Fixed quick-transfer of stacks in the spellbook screen 2021-11-10 21:51:51 +02:00
Sollace
acd2b9c795 Implement a gui for the spellbook 2021-11-10 19:26:25 +02:00
Sollace
920ded15eb Fix case 2021-11-10 10:23:22 +02:00
Sollace
3565060404 Clean up the spellbook logic a little 2021-11-09 21:42:01 +02:00
Sollace
48a45e6268 Re-added spellbooks 2021-11-09 18:29:55 +02:00
Sollace
38e3693384 Minor cleanup and documentation tweaks 2021-11-08 14:43:19 +02:00
Sollace
2890bc3e07 Further work on spell traits and clean up how projectile spells are handled 2021-11-08 14:25:59 +02:00
Sollace
33476f2ed8 Added spell traits and trait groupings, and rewrite spell casting to make combining spells and catering to different situations easier 2021-11-05 15:18:32 +02:00
Sollace
27f143982e Earth Ponies can now steel themselves against damage by sneaking 2021-09-18 22:03:06 +02:00
Sollace
7a3a441cb6 Fixed modified fall damage 2021-09-18 20:05:34 +02:00
Sollace
62714f771b Require pickaxe for mining rocks 2021-09-03 00:47:48 +02:00
Sollace
430ee9a85e Fixed crash when teleporting 2021-09-03 00:47:34 +02:00