From 777b035d3ae1bbcc3a4940ffacc783fdcd8695df Mon Sep 17 00:00:00 2001 From: Akechi Date: Sat, 1 Feb 2025 23:56:27 -0800 Subject: [PATCH] `sid` param --- BossMod/Autorotation/Standard/akechi/AkechiTools.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BossMod/Autorotation/Standard/akechi/AkechiTools.cs b/BossMod/Autorotation/Standard/akechi/AkechiTools.cs index 2037f76276..45418ad86e 100644 --- a/BossMod/Autorotation/Standard/akechi/AkechiTools.cs +++ b/BossMod/Autorotation/Standard/akechi/AkechiTools.cs @@ -722,7 +722,7 @@ protected bool CanWeave(AID aid, int extraGCDs = 0, float extraFixedDelay = 0) /// Checks if a specific status effect on the player exists. /// NOTE: The effect MUST be owned by the Player. /// Example Given: "PlayerHasEffect(SID.NoMercy, 20)" - /// The Status ID of specified status effect. (e.g. "SID.NoMercy") + /// The user's specified Status ID being checked. /// The Total Effect Duration of specified status effect. (e.g. since No Mercy's buff is 20 seconds, we simply use "20") /// - A value indicating if the effect exists protected bool PlayerHasEffect(SID sid, float duration) where SID : Enum => StatusRemaining(Player, sid, duration) > 0.1f; @@ -730,7 +730,7 @@ protected bool CanWeave(AID aid, int extraGCDs = 0, float extraFixedDelay = 0) /// Checks if a specific status effect on the player exists. /// NOTE: The effect can be owned by anyone; Player, Party, Alliance, NPCs or even enemies /// Example Given: "PlayerHasEffectAny(SID.Troubadour)" - /// The Status ID of specified status effect. (e.g. "SID.NoMercy") + /// The user's specified Status ID being checked. /// The Total Effect Duration of specified status effect. (e.g. since No Mercy's buff is 20 seconds, we simply use "20") /// - A value indicating if the effect exists protected bool PlayerHasAnyEffect(SID sid) where SID : Enum => Player.FindStatus(sid) != null; @@ -739,7 +739,7 @@ protected bool CanWeave(AID aid, int extraGCDs = 0, float extraFixedDelay = 0) /// NOTE: The effect MUST be owned by the Player. /// Example Given: "TargetHasEffect(primaryTarget, SID.SonicBreak, 30)" /// The specified Target we're checking for specified status effect. (e.g. "primaryTarget")(NOTE: can even be "Player") - /// The Status ID of specified status effect. (e.g. "SID.SonicBreak") + /// The user's specified Status ID being checked. /// The Total Effect Duration of specified status effect. (e.g. since Sonic Break's debuff is 30 seconds, we simply use "30") /// - A value indicating if the effect exists protected bool TargetHasEffect(Actor? target, SID sid, float duration = 1000f) where SID : Enum => StatusRemaining(target, sid, duration) > 0.1f; @@ -748,7 +748,7 @@ protected bool CanWeave(AID aid, int extraGCDs = 0, float extraFixedDelay = 0) /// NOTE: The effect can be owned by anyone; Player, Party, Alliance, NPCs or even enemies /// Example Given: "TargetHasAnyEffect(primaryTarget, SID.MeditativeBrotherhood)" /// The specified Target we're checking for specified status effect. (e.g. "primaryTarget")(NOTE: can even be "Player") - /// The Status ID of specified status effect. (e.g. "SID.SonicBreak") + /// The user's specified Status ID being checked. /// - A value indicating if the effect exists protected bool TargetHasAnyEffect(Actor? target, SID sid) where SID : Enum => target?.FindStatus(sid) != null;