Add tutorial and QoL improvements
This commit is contained in:
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
namespace KernelPanic.Combat
|
||||
{
|
||||
/// <summary>
|
||||
/// Runtime-only enemy placeholder used until encounter and EnemyDefinition assets are wired.
|
||||
/// Runtime enemy state and announced intent selection.
|
||||
/// </summary>
|
||||
public sealed class EnemyInstance
|
||||
{
|
||||
@@ -64,6 +64,14 @@ namespace KernelPanic.Combat
|
||||
|
||||
public void PickNextIntent()
|
||||
{
|
||||
if (HasBehavior(EnemyBehaviorFlags.BossCycle) && _intentPool.Count > 0)
|
||||
{
|
||||
CurrentIntent = _intentPool[TurnsAlive % _intentPool.Count];
|
||||
if (State.CurrentUptime <= State.MaxUptime / 2 && CurrentIntent.Kind == EnemyIntentKind.Attack)
|
||||
CurrentIntent = CurrentIntent.WithValues(CurrentIntent.MinValue + 3, CurrentIntent.MaxValue + 3,
|
||||
"overclocked " + CurrentIntent.DisplayLabel);
|
||||
return;
|
||||
}
|
||||
if (PendingRevive)
|
||||
{
|
||||
CurrentIntent = new EnemyIntent(EnemyIntentKind.Special, 0, 0, KernelPanic.Core.Language.C, "reviving", "~", false, KernelPanic.Core.StatusType.MemoryLeak, 0, -1, "next");
|
||||
|
||||
Reference in New Issue
Block a user