While the spell system has been in the game for a long time, it has been mostly in a very primitive form. The introduction of factions allowed me to clearly define who is a friend and who is a foe. That had an immediate impact in the spells, because now I can make rules of who can be the target of the spells, so I can now declare that it can affect "allies", "enemies", or both. From here, I continued with the momentum of working on the spells, and added spells wit an area of effect.
To do that, I had to split the task into a few different subtasks, and the most interesting part was in fact making the system that applies the effect on the targets that step into the area of effect. It turned out to be quite simple, but nevertheless a very effective way to create an area of effect. As for the clients, they only receive enough information to show a visual representation.
Now I want to add more effect types, like for example slowing, freezing, disorienting, stun, etc.
As usual, I will be doing a video on this development and post it on my devlog on YouTube, at https://www.youtube.com/channel/UCyOt8sPTqNxRseUzpzUEQQg