Hey everyone,
I have been messing around with modding in Stonehearth & I am trying to create a custom buff effect for my units. The idea is to have a buff that increases movement speed for a short duration, kind of like a temporary “Sprint” ability. I have looked through some of the existing buffs in the game files but I am struggling to figure out exactly where to tweak things to make it work properly.
Also i have Created a basic buff JSON file. Tried adding the “speed” stat modifier. Hooked it up to an ability trigger.
But for some reason, the effect does not seem to apply correctly. Do I need to add a custom LUA script for it to work properly or am I missing something simple? I have taken a Python course before but working with LUA in this context feels a bit different. If anyone has experience with buffs & stat modifications, I want some pointers.
Also i have check New mod idea: Hearthlings want to leave my town? witch is good
Thank you…