Upload from upload_mods.ps1

This commit is contained in:
Nathaniel Cosford
2025-06-04 16:44:53 +09:30
commit f1fbbe67bb
1722 changed files with 165268 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
namespace Harmony.QuestActionSpawnGSEnemyPatches
{
[HarmonyPatch(typeof(QuestActionSpawnGSEnemy))]
[HarmonyPatch("SpawnEnemies")]
public class SpawnEnemiesPatch
{
public static bool Prefix(QuestActionSpawnGSEnemy __instance, Quest ownerQuest)
{
EntityPlayerLocal player = ownerQuest.OwnerJournal.OwnerPlayer;
RebirthVariables.gameStage = player.gameStage;
if (RebirthUtilities.ScenarioSkip())
{
//Log.Out("QuestActionSpawnGSEnemyPatches-SpawnEnemies START: " + player.biomeStandingOn.m_sBiomeName + $" ({player.position})");
string biomeName = RebirthUtilities.GetBiomeName(player);
RebirthUtilities.SetHiveSpawnGroup(biomeName);
}
return true;
}
}
}