This commit is contained in:
SoulliesOfficial
2026-01-03 18:19:39 -05:00
parent 3bcd7c1cf8
commit 33b1795c1f
7387 changed files with 2762819 additions and 716926 deletions

View File

@@ -5,7 +5,7 @@ using UnityEngine;
namespace Cielonos.MainGame.Characters
{
public class ReactionSubcontroller : SubcontrollerBase<CharacterBase>
public partial class ReactionSubcontroller : SubcontrollerBase<CharacterBase>
{
public Dictionary<BreakthroughType, bool> originalBreakthroughResistances;
public Dictionary<BreakthroughType, bool> breakthroughResistances;
@@ -20,8 +20,8 @@ namespace Cielonos.MainGame.Characters
{
{ BreakthroughType.None, true },
{ BreakthroughType.Weak, true },
{ BreakthroughType.Medium, true },
{ BreakthroughType.Heavy, true },
{ BreakthroughType.Medium, false },
{ BreakthroughType.Heavy, false },
{ BreakthroughType.Disruption, false },
{ BreakthroughType.Forced, false },
{ BreakthroughType.Unstoppable, false },
@@ -31,8 +31,8 @@ namespace Cielonos.MainGame.Characters
{
{ BreakthroughType.None, true },
{ BreakthroughType.Weak, true },
{ BreakthroughType.Medium, true },
{ BreakthroughType.Heavy, true },
{ BreakthroughType.Medium, false },
{ BreakthroughType.Heavy, false },
{ BreakthroughType.Disruption, false },
{ BreakthroughType.Forced, false },
{ BreakthroughType.Unstoppable, false },
@@ -61,4 +61,18 @@ namespace Cielonos.MainGame.Characters
}
}
}
public partial class ReactionSubcontroller
{
public void InitializeResistances(EnemyRank enemyRank)
{
if (enemyRank == EnemyRank.Nexus || enemyRank == EnemyRank.Core)
{
originalBreakthroughResistances[BreakthroughType.Medium] = true;
originalBreakthroughResistances[BreakthroughType.Heavy] = true;
breakthroughResistances[BreakthroughType.Medium] = true;
breakthroughResistances[BreakthroughType.Heavy] = true;
}
}
}
}