Commit graph

2797 commits

Author SHA1 Message Date
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
fc8c68c100 Fix error when receiving capabilities for an invalid player 2021-03-05 20:08:20 +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
f511e2b346 Clean up 2021-03-03 20:32:51 +02:00
Sollace
c21e492482 Use a single implementation for converting blocks 2021-03-03 20:31:34 +02:00
Sollace
8d0552995b Whoops 2021-03-03 20:09:06 +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
d172511777 Fixed spells not being cleared when respawning 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
3bb4d36a7e Added a runes particle 2021-03-03 20:07:52 +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
51b541091e Only unicorns can see what a specific gem does 2021-03-02 20:12:57 +02:00
Sollace
a50cc0d117 Flightly fix the logic for when the cast abilities should fail 2021-03-02 19:38:54 +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
4843a5c5f8 Casting a spell from a gem will now consume the spell but leave the gem 2021-03-01 15:09:38 +02:00
Sollace
b9fa4b072d Fix some issues with spells 2021-03-01 15:09:17 +02:00
Sollace
859458baa6 Fix crash when spawning the raindrops particle 2021-03-01 15:07:51 +02:00
Sollace
b9679a3706 Spells can now be obtained via gemstones 2021-03-01 12:56:30 +02:00
Sollace
782bb86f0c Fixed ground pound not triggering properly if the player's fall event doesn't trigger. Closes #29 2021-03-01 09:42:51 +02:00
Sollace
0cd45ad1ae Fixed ground pound not taking into accoutn the player's gravity 2021-03-01 09:41:55 +02:00
Sollace
f0e43cdbe7 Rotate ponies wings to match when the player flaps their wings 2021-03-01 09:41:14 +02:00
Sollace
fd65f1b9e1 A few minor tweaks to how feathers fall and attempt to fix falling in inverted gravity 2021-02-28 16:37:38 +02:00
Sollace
cd010adc10 Added a way to obtain feathers from mansions and mineshafts 2021-02-28 16:03:26 +02:00
Sollace
701716f167 Pegasi will drop pegasus feathers while flying 2021-02-28 12:14:37 +02:00
Sollace
b625824270 Remove unused class 2021-02-28 12:12:57 +02:00
Sollace
18393d104d Feathers will now float gently to the ground when dropped 2021-02-28 12:12:46 +02:00
Sollace
f067e67eca Fixed wings of icarus not having correct angles when worn by a mob 2021-02-27 22:57:32 +02:00
Sollace
002ace1846 Wings of icarus will become corrupted when in the nether 2021-02-27 22:35:07 +02:00
Sollace
1992a1fd53 Add particle effects and sound effects when adding/removing the wings of icarus 2021-02-27 22:06:25 +02:00
Sollace
f8e19cc17a Separate wing and amulet rendering and give the wings of icarus their own texture 2021-02-27 22:05:57 +02:00
Sollace
0221451543 Fixed not being able to right-click to equip amulets 2021-02-27 18:42:29 +02:00
Sollace
63e61826e8 Hook into MineLP to fix rotation whilst flying 2021-02-27 18:09:57 +02:00
Sollace
163afc9047 Added a renderer for worn amulets and wings 2021-02-27 17:47:54 +02:00
Sollace
59c2f400d0 Added gemstones, feathers, and Wings of Icarus 2021-02-27 12:24:09 +02:00
Sollace
42670af93b Reduce the chances of there being a NPE here 2021-02-26 13:41:19 +02:00
Sollace
c2a959f031 Fixed hud element appearing on the pause screen 2021-02-24 12:17:40 +02:00