r2mods/ilspy_dump/ror2_csproj/RoR2.Orbs/TitanRechargeOrb.cs

25 lines
509 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
namespace RoR2.Orbs;
public class TitanRechargeOrb : Orb
{
public int targetRockInt;
public TitanRockController titanRockController;
public override void Begin()
{
base.duration = 1f;
EffectData effectData = new EffectData
{
origin = origin,
genericFloat = base.duration
};
effectData.SetHurtBoxReference(target);
EffectManager.SpawnEffect(OrbStorageUtility.Get("Prefabs/Effects/OrbEffects/HealthOrbEffect"), effectData, transmit: true);
}
public override void OnArrival()
{
}
}