Added maid's knife (dropped from maid)
This commit is contained in:
parent
05ea3dc4c3
commit
69b2bc24cf
8 changed files with 306 additions and 20 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue