更新
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user