private static void Obj_AI_Base_OnBuffGain(Obj_AI_Base sender, Obj_AI_BaseBuffGainEventArgs args)
{
if (!sender.IsMe)
{
return;
}
switch (args.Buff.DisplayName)
{
case "YasuoQ3W":
Variables.haveQ3 = true;
break;
case "YasuoDashScalar":
Variables.cDash = 1;
break;
case "yasuoeqcombosoundmiss":
case "YasuoEQComboSoundHit":
Core.DelayAction(
() =>
Player.IssueOrder(
GameObjectOrder.AttackTo,
(Vector3)Variables._Player.ServerPosition.Extend(Game.CursorPos, Variables._Player.BoundingRadius)), 90);
break;
}
}