Fixed treasure room event for bedroom Fixed painting's interaction with MattyFixes Fixed critical damage bug introduced by v62 Increased lights spawn for all presets by a lot Added Coroner compatibility Added Scarlet Devil Mansion (moon) to the interior's spawn list Lights now have a chance of flickering and dying
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			571 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			571 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using GameNetcodeStuff;
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Threading.Tasks;
 | |
| 
 | |
| namespace ScarletMansion.ModPatch {
 | |
|   public enum CoronerDeathEnum {
 | |
|     Knight,
 | |
|     Maid,
 | |
|     Void,
 | |
|     GhostKnight,
 | |
|     Knife,
 | |
|     KnifeFeed,
 | |
|     KnifeFriendlyFire
 | |
|   }
 | |
| 
 | |
|   public struct CoronerParameters {
 | |
|     public PlayerControllerB player;
 | |
|     public CoronerDeathEnum death;
 | |
| 
 | |
|     public CoronerParameters(PlayerControllerB player, CoronerDeathEnum death){
 | |
|       this.player = player;
 | |
|       this.death = death;
 | |
|     }
 | |
|   }
 | |
| 
 | |
| }
 |