r2mods/ilspy_dump/ror2_csproj/EntityStates.Captain.Weapon/CallAirstrikeEnter.cs

28 lines
506 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
namespace EntityStates.Captain.Weapon;
public class CallAirstrikeEnter : BaseSkillState
{
public override void OnEnter()
{
base.OnEnter();
if (base.isAuthority)
{
switch (base.activatorSkillSlot.stock)
{
case 2:
outer.SetNextState(new CallAirstrike1());
break;
case 1:
outer.SetNextState(new CallAirstrike2());
break;
case 0:
outer.SetNextState(new CallAirstrike3());
break;
default:
outer.SetNextState(new CallAirstrike1());
break;
}
}
}
}