Commit graph

1558 commits

Author SHA1 Message Date
Sollace
6a02f83a43 Slightly simplify the code 2021-06-21 22:05:40 +02:00
Sollace
b14b1e44dd Update and fix gradle 2021-06-21 21:16:45 +02:00
Sollace
c59848544a Fixed exception when breaking trees (whilst not looking at one) Closes #33 2021-06-16 00:46:04 +02:00
Sollace
0a06dee124 Move toxics to item tags and add a default for when a food isn't registered 2021-06-12 17:16:42 +02:00
Sollace
241daec138 More work towards making it possible to move state maps to json 2021-06-12 14:54:01 +02:00
Sollace
3c1eaec5d4 Fix issues when loading on a dedicated server 2021-03-22 20:18:31 +02:00
Sollace
f74d7be038 Bump version 2021-03-07 12:19:04 +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
3be00acad2 Bump version 2021-03-06 16:52:04 +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
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