Commit graph

63 commits

Author SHA1 Message Date
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
e9e238dd3d Remove the old WorldEvent util. This is no longer needed in 1.17 2021-08-25 14:22:11 +02:00
Sollace
c3e854fdd1 Added a transformation spell 2021-08-25 00:32:39 +02:00
Sollace
f8443242ba Move golden wing and added enchanted gems to wandering traders' trades 2021-08-24 21:44:52 +02:00
Sollace
6d5dd4a091 Move UEntities and UTradeOffers to the entity package 2021-08-24 21:15:43 +02:00
Sollace
95231f181f Rewrite player dimensions calculations to avoid messing with dimensions when we don't have to (should improve compatibility) 2021-08-23 23:09:13 +02:00
Sollace
6fbcce7c22 Prevent flying sounds from playing whilst disguised 2021-08-23 23:08:03 +02:00
Sollace
ca787254f2 Added a separate stat for magical exhaustion 2021-08-18 17:41:54 +02:00
Sollace
55e990882e 1.16.5 -> 1.17 2021-08-04 15:38:03 +02:00
Sollace
1147249059 Fixed issues with the disguise spell 2021-03-07 11:20:37 +02:00
Sollace
63c1b4ef7f Yet more refactoring 2021-03-06 23:11:17 +02:00
Sollace
f3b589b307 Use a weighted pool to decide which entities to spawn 2021-03-06 15:27:09 +02:00
Sollace
9c19184910 Keep track of entities summoned and kill then when the spell is cancelled 2021-03-06 14:53:40 +02:00
Sollace
da5f64e199 Improved death messages when dying from a secondary cause whilst being harmed by a spell 2021-03-06 14:27:52 +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
c188b9c7cb Siphoning spell should stay angry for as long as there are entities still inside it 2021-03-06 12:08:14 +02:00
Sollace
6d3d8051fe A little more cleanup to the magic system 2021-03-06 11:58:44 +02:00
Sollace
d27de0f690 The siphoning spell can now get angry if you misuse it 2021-03-05 21:07:49 +02:00
Sollace
b27ff8c5f0 Reduce the chances of the siphoninh spell breaking when you misuse it 2021-03-05 20:56:00 +02:00
Sollace
690613b950 Fixed siphoning spell not dying properly/duplicating its particle each time 2021-03-05 20:53:17 +02:00
Sollace
4c1f5a4ba5 Fixed spells dissapearing when reloading the world, and respawn the spell entity if it dies 2021-03-05 20:52:49 +02:00
Sollace
1cb6c6ac00 Fixed crash due to null spell slot 2021-03-05 19:22:27 +02:00
Sollace
51ed3fe2e2 Change onThrownTick to receive the actual type rather than just a caster 2021-03-05 19:22:09 +02:00
Sollace
c9abb1a0f8 Link the spell to the entity it spawns 2021-03-04 23:30:43 +02:00
Sollace
3211b232cf Cast spells are now their own entity (should fix problems with spells dissapearing/not appearing at the correct location in muliplayer) 2021-03-04 22:35:49 +02:00
Sollace
c21e492482 Use a single implementation for converting blocks 2021-03-03 20:31:34 +02:00
Sollace
afd437d9cf Polish up the inferno spell and refactor block state mapping a little 2021-03-03 20:08:01 +02:00
Sollace
3fda44eba6 Adjust the color for the necro spell 2021-03-03 20:08:01 +02:00
Sollace
c9670a3d3c Polish up the siphoning and necro spells 2021-03-03 20:08:01 +02:00
Sollace
269db7bdc9 Further cleanup to the magic system 2021-03-03 11:33:23 +02:00
Sollace
b3e196c404 Perform the flattening on the spells 2021-03-02 22:12:28 +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
b9fa4b072d Fix some issues with spells 2021-03-01 15:09:17 +02:00
Sollace
b9679a3706 Spells can now be obtained via gemstones 2021-03-01 12:56:30 +02:00
Sollace
0cd45ad1ae Fixed ground pound not taking into accoutn the player's gravity 2021-03-01 09:41:55 +02:00
Sollace
be59ed0553 Implemented the bounce and poisoned joked enchants 2021-02-16 23:12:09 +02:00
Sollace
c61801b507 Added some enchantments suggested by kerplamp 2021-02-16 13:39:39 +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
fef8de15d8 Unicorns now have the option to takes friends with them when they teleport (at an extra cost) 2021-02-13 19:59:12 +02:00
Sollace
120fd6eb38 Added friendship bracelets! 2021-02-03 22:25:42 +02:00
Sollace
3fd161a0d2 Change the energy consumption counter to be per-entity, adjust consumption rates, and scale the number of entities you can defend from by the caster's experience level 2021-01-30 18:34:53 +02:00
Sollace
8f654177ec Rebalance the energy cost calculation for shields 2021-01-29 19:22:04 +02:00
Sollace
615e4c3788 Fixed the focused/unfocused forms of magic missile (whoops) 2021-01-29 19:02:04 +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
1bcba1c08d Fixed shield effect affecting items and the caster when sneaking 2021-01-27 08:57:06 +02:00
Sollace
38f1cc99c8 Added a rainboom ability for pegasi 2020-10-14 21:07:36 +02:00
Sollace
7e19fd08c5 Fixed shield particles doubling up when switching races 2020-10-09 17:39:36 +02:00
Sollace
e3e374dd87 Some minor restructuring 2020-10-09 16:45:27 +02:00
Sollace
301acdf1d2 Unicorns can now shoot a spell as a projectile 2020-10-08 19:22:20 +02:00