using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using DunGen; namespace ScarletMansion.GamePatch.FixValues { public class FixCeilingLightValue : FixBaseClass { public void Awake(){ var weight = target.Props.Weights[1]; var value = Plugin.CurrentConfigDungeon.GetCeilingLightsWeight; weight.MainPathWeight = value; weight.BranchPathWeight = value; } } }