Skip to content
#3920
Auto-translated
Could someone who knows about scripts please help me?
I have a prophet's hut on my map. It gives a repeatable quest. I've configured the hut correctly. I've specified what's needed to complete the quest, the reward, and that the quest is repeatable.
The problem is this: I've chosen to give a creature as a reward. But I also need to take away certain resources from the hero who completes the quest. And it should be a bit of a trick). For example, if a player brings 20 wood, they get a Dryad, but as a trick, all the resources the hero has at that moment are taken away, and their luck and morale are reduced by 20.
I think I'll have to use a script because I've already tried everything else. It's important that the script runs at the right moment and for the hero who completes the quest in the hut. And, of course, the script should be repeatable since the quest is repeatable. Please send me a private message if you can help. Thank you in advance.