Fixed knight ghost to sprint when you ain't looking Fixed Gohei to detect enemies
21 lines
497 B
C#
21 lines
497 B
C#
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<LocalPropSet> {
|
|
|
|
public void Awake(){
|
|
var weight = target.Props.Weights[1];
|
|
var value = Plugin.CurrentConfigDungeon.GetCeilingLightsWeight;
|
|
weight.MainPathWeight = value;
|
|
weight.BranchPathWeight = value;
|
|
}
|
|
|
|
}
|
|
}
|