r2mods/ilspy_dump/ror2_csproj/EntityStates.Huntress.Huntr.../FireFlurrySeekingArrow.cs

30 lines
637 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using RoR2.Orbs;
using UnityEngine;
namespace EntityStates.Huntress.HuntressWeapon;
public class FireFlurrySeekingArrow : FireSeekingArrow
{
public static GameObject critMuzzleflashEffectPrefab;
public static int critMaxArrowCount;
public static float critBaseArrowReloadDuration;
public override void OnEnter()
{
base.OnEnter();
if (isCrit)
{
muzzleflashEffectPrefab = critMuzzleflashEffectPrefab;
maxArrowCount = critMaxArrowCount;
arrowReloadDuration = critBaseArrowReloadDuration / attackSpeedStat;
}
}
protected override GenericDamageOrb CreateArrowOrb()
{
return new HuntressFlurryArrowOrb();
}
}