Commit graph

56 commits

Author SHA1 Message Date
Sollace
10758fc25d Fixed catapult spell and fixed spells not being applied when a projectile hits something 2022-12-26 23:48:01 +01:00
Sollace
eed112ef4a Further refactorings 2022-12-19 21:03:55 +01:00
Sollace
a239d30cab Replace getEntity() with asEntity() and getReferenceWorld() with asWorld() 2022-12-19 18:13:15 +01:00
Sollace
daa508ba73 Cleanup and replace some more references to getMaster() 2022-12-19 17:27:24 +01:00
Sollace
c9c463d6c9 1.19.2 -> 1.19.3 (1.20) [part 1] 2022-12-18 21:07:24 +00:00
Sollace
8a16a8b501 Refactor projectile event handlers 2022-12-04 22:46:45 +00:00
Sollace
b5f41d2244 Improve performance by removing unneccessary nbt reads of spells when ticking 2022-10-12 23:15:17 +02:00
Sollace
a0933d8424 Added windflow, and made turbulance global + certain blocks produce an updraft that pegasi can ride up or down 2022-10-09 18:07:04 +02:00
Sollace
66bdfc0e1a Fixed magic projectiles not triggering the destroy event on their spells when being destroyed 2022-10-09 00:29:19 +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
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
89e8f0dccc Simplify projectile delegate code 2022-09-14 11:53:31 +02:00
Sollace
d9933bb3ec Fixed magic projectiles not actually using their caster's level 2022-09-01 23:00:20 +02:00
Sollace
2c77cfb4c3 Added muffins 2022-03-27 16:02:14 +02:00
Sollace
9f46fe9270 1.18-pre -> 1.18.2 2022-03-26 21:34:15 +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
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
7a05efa23a Some minor cleanup 2021-12-29 18:11:32 +02:00
Sollace
fb6031b89f Added a homing ability to the firebolt spell 2021-12-28 18:22:47 +02:00
Sollace
baa3700748 Fixed crash when ticking a projectile with no loaded owner 2021-12-27 02:14:48 +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
62e5ab01cc Tiny bit of cleanup 2021-12-24 16:36:40 +02:00
Sollace
f3d6c7ce28 Work on allowing more than one spell to be attached 2021-12-21 18:26:23 +02:00
Sollace
1b82f7e9b5 Added the firebolt spell 2021-12-12 12:49:30 +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
c3e854fdd1 Added a transformation spell 2021-08-25 00:32:39 +02:00
Sollace
6d5dd4a091 Move UEntities and UTradeOffers to the entity package 2021-08-24 21:15:43 +02:00
Sollace
55e990882e 1.16.5 -> 1.17 2021-08-04 15:38:03 +02:00
Sollace
63c1b4ef7f Yet more refactoring 2021-03-06 23:11:17 +02:00
Sollace
e386e040ea Fixed mana cost for cast spells not being passed on to the player 2021-03-06 12:26:54 +02:00
Sollace
6d3d8051fe A little more cleanup to the magic system 2021-03-06 11:58:44 +02:00
Sollace
1cb6c6ac00 Fixed crash due to null spell slot 2021-03-05 19:22:27 +02:00
Sollace
269db7bdc9 Further cleanup to the magic system 2021-03-03 11:33:23 +02:00
Sollace
c5fdb9167f Further rewrites to the magic system 2021-03-02 17:58:24 +02:00
Sollace
a58c6a0a44 More work on spells and gemstones 2021-03-02 15:40:37 +02:00
Sollace
b9679a3706 Spells can now be obtained via gemstones 2021-03-01 12:56:30 +02:00
Sollace
ad74e50e35 Improve negative gravity handling on dropped items 2021-02-22 15:54:24 +02:00
Sollace
be59ed0553 Implemented the bounce and poisoned joked enchants 2021-02-16 23:12:09 +02:00
Sollace
b5dc84a139 Added filled jars 2021-02-14 22:15:30 +02:00
Sollace
a130087d5d Added jars, empty jars, lightning in a jar, and various storms in a jar 2021-02-14 17:53:44 +02:00
Sollace
b43ed1975b Fixed shields being offset and fixed shields applying to entities that they shouldn't 2021-01-29 18:37:41 +02:00
Sollace
38f1cc99c8 Added a rainboom ability for pegasi 2020-10-14 21:07:36 +02:00
Sollace
295c28cfac Remove debug logging 2020-10-13 17:41:02 +02:00
Sollace
301acdf1d2 Unicorns can now shoot a spell as a projectile 2020-10-08 19:22:20 +02:00
Sollace
86524c10aa Slight refactor for levelling 2020-10-02 09:39:00 +02:00
Sollace
f08850e7c2 A long list of fixes for disguises 2020-09-24 14:49:02 +02:00
Sollace
2fd270131f Store the default race with the world and properly sync with the client upon joining 2020-09-23 21:56:57 +02:00
Sollace
efc50c5cbd Races now have an affinity 2020-09-23 17:19:28 +02:00