AkaCore.Features.Activator.AItems.HextechPB.OnExecute C# (CSharp) Method

OnExecute() public method

public OnExecute ( ) : void
return void
        public void OnExecute()
        {
            var unit = TargetSelector.GetTarget(500, DamageType.Magical);

            if (unit != null)
            {
                AkaLib.Item.HextechPro.Cast(unit.Position);
            }
        }