I need the script to reset after the hero completes the task.
The script is as follows: SetRegionBlocked("Region", true, 1);
Added 3 minutes later
function new_day()
local day = GetDate(day)
if day == 1 then
DeployReserveHero("Necromancer", 29, 60, 1)
end
end
Trigger(NEW_DAY_TRIGGER, 'new_day')
DeployReserveHero("Necromancer", 29, 60, 1)