r2mods/ilspy_dump/ror2_csproj/EntityStates.Loader/ChargeZapFist.cs

18 lines
309 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
namespace EntityStates.Loader;
public class ChargeZapFist : BaseChargeFist
{
protected override bool ShouldKeepChargingAuthority()
{
return base.fixedAge < base.chargeDuration;
}
protected override EntityState GetNextStateAuthority()
{
return new SwingZapFist
{
charge = base.charge
};
}
}