Table of Contents

Class SpawnPatch

Namespace
ConfigurableWarning.Patches
Assembly
RedstoneWizard08.ContentLibrary.dll

Spawning mechanic patches

[HarmonyPatch]
public class SpawnPatch
Inheritance
SpawnPatch
Inherited Members

Methods

GetExtraBudgetForDay(int, ref int)

Patches extra spawn budgets to be between the day one value and day three value. This will interpolate the budget to be spread across all days.

[HarmonyPostfix]
[HarmonyPatch(typeof(BigNumbers), "GetExtraBudgetForDay")]
public static void GetExtraBudgetForDay(int day, ref int __result)

Parameters

day int

The day to calculate for

__result int

The output extra spawn budget

GetMonsterBudgetForDayFirstWave(int, ref int)

Patches the second wave monster budget to account for the potential extra days.

[HarmonyPostfix]
[HarmonyPatch(typeof(BigNumbers), "GetMonsterBudgetForDayFirstWave")]
public static void GetMonsterBudgetForDayFirstWave(int day, ref int __result)

Parameters

day int

The day to calculate for

__result int

The output budget

GetMonsterBudgetForSecondWave(int, ref int)

Patches the second wave monster budget to account for the potential extra days.

[HarmonyPostfix]
[HarmonyPatch(typeof(BigNumbers), "GetMonsterBudgetForSecondWave")]
public static void GetMonsterBudgetForSecondWave(int day, ref int __result)

Parameters

day int

The day to calculate for

__result int

The output budget