r2mods/ilspy_dump/ror2_csproj/EntityStates.Toolbot/ToolbotStanceA.cs

23 lines
380 B
C#
Raw Permalink Normal View History

2024-10-04 07:26:37 +00:00
using RoR2;
using UnityEngine.Networking;
namespace EntityStates.Toolbot;
public class ToolbotStanceA : ToolbotStanceBase
{
public override void OnEnter()
{
base.OnEnter();
swapStateType = typeof(ToolbotStanceB);
if (NetworkServer.active)
{
SetEquipmentSlot(0);
}
}
protected override GenericSkill GetCurrentPrimarySkill()
{
return GetPrimarySkill1();
}
}