Added basement variant

Fixed knight ghost to sprint when you ain't looking
Fixed Gohei to detect enemies
This commit is contained in:
LadyAliceMargatroid 2025-01-11 03:45:12 -08:00
parent 83d0d8a737
commit e28f3ca2db
21 changed files with 466 additions and 96 deletions

View file

@ -11,7 +11,7 @@ namespace ScarletMansion.GamePatch.FixValues {
public void Awake(){
var weight = target.Props.Weights[1];
var value = Plugin.GetConfigDungeon.GetCeilingLightsWeight;
var value = Plugin.CurrentConfigDungeon.GetCeilingLightsWeight;
weight.MainPathWeight = value;
weight.BranchPathWeight = value;
}

View file

@ -11,7 +11,7 @@ namespace ScarletMansion.GamePatch.FixValues {
public void Awake(){
var weight = target.Props.Weights[1];
var value = Plugin.GetConfigDungeon.GetHallwayLightsWeight;
var value = Plugin.CurrentConfigDungeon.GetHallwayLightsWeight;
weight.MainPathWeight = value;
weight.BranchPathWeight = value;
}

View file

@ -10,7 +10,7 @@ namespace ScarletMansion.GamePatch.FixValues
{
public class FixTreasureRoom : FixBaseClass<LocalPropSetBasic> {
public void Awake(){
var loot = Plugin.GetConfigDungeon.GetTreasureRoomLoot;
var loot = Plugin.CurrentConfigDungeon.GetTreasureRoomLoot;
target.propCount = new IntRange(loot.min, loot.max);
}