Commit graph

126 commits

Author SHA1 Message Date
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
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
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
59c2f400d0 Added gemstones, feathers, and Wings of Icarus 2021-02-27 12:24:09 +02:00
Sollace
12621518ba Rebalance the stomp ability 2021-02-19 18:53:28 +02:00
Sollace
52f62516fa Added a way to obtain both the rain cloud and storm cloud jars 2021-02-19 18:10:49 +02:00
Sollace
88f284f202 Fixed bed-cannon-causing incorrect thrust speed. Closes #27 2021-02-18 23:03:43 +02:00
Sollace
368e965025 Add a slight vertical jump to entities when performing a stomp 2021-02-18 22:57: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
2aae1e6aa0 group_teleport -> teleport_group so it's sorted to the right page 2021-02-13 23:12:02 +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
209ddbb972 Fixed page count not being computed correctly when first joining a world 2021-02-13 19:24:25 +02:00
Sollace
143ca8c655 If you happen to kick a tree with a bee's nest, you will inadvertantly anger the bees. 2021-02-13 13:51:01 +02:00
Sollace
0dc3860966 Rewrite and improve tree traversal 2021-02-13 13:50:24 +02:00
Sollace
a566dd2075 Add an audio confirmation when an ability fails to activate/doesn't fulfil its requirements to activate 2021-02-09 20:44:05 +02:00
Sollace
8f68b6414f Add a ground_pound particle and rework the ground pound ability to only trigger when you actually reach the ground 2021-02-05 21:19:41 +02:00
Sollace
120fd6eb38 Added friendship bracelets! 2021-02-03 22:25:42 +02:00
Sollace
6ffff32718 Added a health drain particle for changelings, fixed changeling feed having too wide of a radius, and fixed particles not spawning on the clients 2021-02-02 12:52:50 +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
0bde55a0fb Reduce the amount of particles generated by the changeling feed ability 2021-01-27 17:16:31 +02:00