Commit graph

215 commits

Author SHA1 Message Date
Sollace
67a894958c Fixed crash when players have disguised as other players 2022-10-13 18:16:52 +02:00
Sollace
b5f41d2244 Improve performance by removing unneccessary nbt reads of spells when ticking 2022-10-12 23:15:17 +02:00
Sollace
83b4953bba Move out some references to vanilla sounds to make them easier to replace 2022-10-12 10:40:36 +02:00
Sollace
db8181c45e Remove debug code 2022-10-11 17:18:00 +02:00
Sollace
986c4a5f85 Fixed twittermites and magic beams appearing invisible with sodium 2022-10-09 00:23:35 +02:00
Sollace
22be8e35df Adjust cost when performing a rainboom 2022-10-08 14:45:47 +02:00
Sollace
06db6e6247 Fixed water being misplaced 2022-10-08 14:45:06 +02:00
Sollace
b8df7d0e67 Updates to the shape package 2022-10-08 10:57:16 +02:00
Sollace
170cbe3a7d More work on the hydrophobic spell 2022-10-07 16:52:35 +02:00
Sollace
fc792c930e Catch exceptions when deserialising spell nbt 2022-10-07 16:52:21 +02:00
Sollace
7a8ba44f0d A bit of general cleanup 2022-10-06 23:04:32 +02:00
Sollace
afda7a6ef8 Added mimic, mind swap, and hydrophobe spells 2022-10-03 23:47:17 +02:00
Sollace
39e97818e7 Changes to how shapes are handled and align the particles spawned by portals to the portal's orientation 2022-10-01 23:53:18 +02:00
Sollace
63481f9c64 Add an advancement for breaking through a window as a pegasus 2022-10-01 23:51:26 +02:00
Sollace
8c65adeea2 Add generics to SpellContainer.stream 2022-10-01 18:21:08 +02:00
Sollace
2b00977e7f Clean up raytrace helper code 2022-10-01 18:20:53 +02:00
Sollace
7b60248514 Standardise sound playing 2022-09-26 21:13:03 +02:00
Sollace
88ba52efc5 Send a velocity update to the client when modifying player velocities. (should fix some instances of knockback not working when it should)
i.e.
When wearing the alicorn amulet,
When hit by a jar,
When hit by a polearm
When hit by an earth pony stomp
When kicked by an earth pony
When screeched at by a bat pony
2022-09-26 21:12:30 +02:00
Sollace
bea8272873 Added sunglasses and broken sunglasses (credit @AtomicGlow for the idea) 2022-09-25 22:32:38 +02:00
Sollace
7fc17d9f79 Use separate textures for each race icon, display the number of spells active in the hud, and change the spell dismiss screen to reflect the location of placed spells 2022-09-18 14:16:28 +02:00
Sollace
47db6d49ee Fixed dead placeable spells not being fully removed from the player 2022-09-18 11:35:35 +02:00
Sollace
f5c643ed50 Cleanup spell orientation slightly 2022-09-18 11:34:57 +02:00
Sollace
8036844941 Add a mana cost when using the portals 2022-09-17 22:11:40 +02:00
Sollace
cbd80270e3 Store the level with the spellcast entity so it can still be used when the owner is offline 2022-09-17 22:11:24 +02:00
Sollace
af7e19ae69 Portal refinements and add the displacement spell 2022-09-17 19:13:39 +02:00
Sollace
4fde8400c5 Adjust shield sizes to account for increasing levels and placed vs on-person 2022-09-16 22:14:24 +02:00
Sollace
0250d8875a You can now cast more than one placed spell at a time (for any type of placed spell, not just portals) 2022-09-16 22:13:55 +02:00
Sollace
3ba4040bb9 Remove compound spells since they weren't being used 2022-09-16 22:12:51 +02:00
Sollace
88e078cfc7 More refinements to portal spells 2022-09-16 21:19:54 +02:00
Sollace
b83f947488 Fixed sphere and disk particles not having the right colour when first spawned 2022-09-16 21:19:09 +02:00
Sollace
2a9f19fc9f Fixed spell entities becoming detached when cancelling the spell from very far away 2022-09-16 18:35:13 +02:00
Sollace
734c256822 Reimplemented the portal spell 2022-09-16 17:54:46 +02:00
Sollace
a32a14f134 Fixed multiple spell entities being spawned when far away 2022-09-16 17:54:20 +02:00
Sollace
8d2639b69b Minor cleanup 2022-09-16 17:53:20 +02:00
Sollace
638a136d6d For spells with a timer, display the timer progress to the user 2022-09-16 12:47:32 +02:00
Sollace
17233f425a Fixed mana regeneration and energy consumption and fixed mana not being loaded correctly between saves 2022-09-16 11:15:07 +02:00
Sollace
2a0e6bc14b Update trait dex icon to look more like a lightbulb and change the icon when there are unread entries 2022-09-15 21:49:10 +02:00
Sollace
3225c7924f Add arcane protection spell 2022-09-14 12:18:22 +02:00
Sollace
d38005c5bf Remove unused SpellContainer code 2022-09-14 11:54:18 +02:00
Sollace
cb50ec544c Make fire spells explode when hitting an entity 2022-09-14 11:53:56 +02:00
Sollace
89e8f0dccc Simplify projectile delegate code 2022-09-14 11:53:31 +02:00
Sollace
8e65a265f9 Change spell constructors to use CustomisedSpellType<?> 2022-09-14 11:45:19 +02:00
Sollace
e721568312 Document the new abilities of shield spells 2022-09-12 00:10:31 +02:00
Sollace
5d31446c54 You can use generosity to make the shield spell placeable 2022-09-11 23:33:22 +02:00
Sollace
75aff1e884 You can now cast more than one spell of the same type if they have different traits 2022-09-11 23:32:58 +02:00
Sollace
92fea6d349 Change attractive spell to use chaos to make it sticky 2022-09-11 23:32:05 +02:00
Sollace
b1599c74af More cleanup and refactoring 2022-09-11 19:43:36 +02:00
Sollace
8f7fa1ae7e Render the duplicating recipe to the ingredient tree 2022-09-11 19:25:34 +02:00
Sollace
53775ce34b Add a recipe for cloning a spell 2022-09-11 18:52:38 +02:00
Sollace
3166fb3919 Fix item duplication/sync glitch in the spellbook 2022-09-11 18:52:26 +02:00