Critical damage renamed to marked for death and all share the same mechanic now Revelant now slows down to speed over a fixed short amount instead the nonworking jank before Moved item/enemy injection to DunGenPlus
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			579 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			579 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using HarmonyLib;
 | |
| 
 | |
| namespace ScarletMansion.DunGenPatch {
 | |
| 
 | |
|   public class GeneratePathPatch {
 | |
| 
 | |
|     [HarmonyPatch(typeof(RoundManager), "GenerateNewFloor")]
 | |
|     [HarmonyPrefix]
 | |
|     public static void DungeonGeneratorGenerate_PrefixPrefix(){
 | |
|       Plugin.logger.LogDebug("Disabling SDM logic");
 | |
|       Patch.Deactivate();
 | |
|     }
 | |
| 
 | |
|     public static void GeneratePatch(RoundManager roundManager){
 | |
|       Plugin.logger.LogDebug("Loading Scarlet Mansion map so we are activating the alt. dungen scripts");
 | |
|       Patch.Activate(roundManager.dungeonGenerator.Generator);
 | |
|     }
 | |
| 
 | |
|   }
 | |
| 
 | |
| 
 | |
| 
 | |
| }
 |