Added maid's knife (dropped from maid)

This commit is contained in:
LadyAliceMargatroid 2024-06-29 04:59:14 -07:00
parent 05ea3dc4c3
commit 69b2bc24cf
8 changed files with 306 additions and 20 deletions

View file

@ -5,6 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using Unity.Netcode;
using ScarletMansion.GamePatch.Enemies;
namespace ScarletMansion.GamePatch.Components {
public class ScarletDoorLock : DoorLock {
@ -84,6 +85,8 @@ namespace ScarletMansion.GamePatch.Components {
{ typeof(SandSpiderAI), (e) => e.currentBehaviourStateIndex <= 1 },
{ typeof(SpringManAI), (e) => e.currentBehaviourStateIndex == 0 },
{ typeof(KnightVariant), (e) => e.currentBehaviourStateIndex == 0 },
{ typeof(ButlerEnemyAI), (e) => e.currentBehaviourStateIndex <= 1 },
{ typeof(MaidVariant), (e) => e.currentBehaviourStateIndex <= 1 }
};
static readonly Dictionary<Type, float> EnemyDoorDamagePerSecond = new Dictionary<Type, float>(){
@ -100,6 +103,8 @@ namespace ScarletMansion.GamePatch.Components {
{ typeof(SandSpiderAI), 25f },
{ typeof(SpringManAI), 12.5f },
{ typeof(KnightVariant), 12.5f },
{ typeof(ButlerEnemyAI), 50f },
{ typeof(MaidVariant), 50f }
};
public bool IsInOpenDoorNormallyState(EnemyAI enemy){