Skip to content

Soothing Continued

Getting Things Configured

Today was spent adding some missing pieces to get the Soothe spell testable in the game. I needed to create the actual instance of the Soothe Spell ScriptableObject so I could configure it and assign it to the Player's spell list.

Soothe Spell config in Inspector

Now that it has been created, I slot it into the Player's spell list and now it shows up as a usable spell in-game!

Player spell list in Inspector with the Soothe spell added

The Spell Slot ui in game showing the Soothe spell

I am reusing the "man with hearts" icon until we can get proper icons put in. It fit the best, even though it is also used for the "stalking" Crew icon...we only have so many placeholders in the game so far!

Testing the Spell

Now that everything is configured, I was able to start testing it. The first problem I ran into was the "range" for the spell was way, way too low. I practically had to be hugging the Crew in order to Soothe them. Granted, a hug would probably also be soothing but I wanted something with a little more distance!

Gif of the Soothed morale modifier being applied to Crew

I adjusted the range and was able to get the Soothed Morale modifier applied, as you can see if you look at Lee's Morale value in the gif above. However, I feel like it isn't always picking up the target when I do the raycast. I need to do some more testing on it but ran out of time tonight. Another thing I want to do is expand the debug panel to show the morale modifiers that have been applied and their timings (if any). That sounds like a problem for tomorrow