r2mods/ilspy_dump/ror2_csproj/EntityStates.ArtifactShell/WaitForKey.cs

24 lines
524 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using RoR2;
namespace EntityStates.ArtifactShell;
public class WaitForKey : ArtifactShellBaseState
{
protected override CostTypeIndex interactionCostType => CostTypeIndex.ArtifactShellKillerItem;
protected override int interactionCost => 1;
protected override bool interactionAvailable => true;
public override void OnEnter()
{
base.OnEnter();
}
protected override void OnPurchase(Interactor activator)
{
base.OnPurchase(activator);
outer.SetInterruptState(new StartHurt(), InterruptPriority.Pain);
}
}