Skip to content

Commit

Permalink
add suggested docblock for buffSoonPresent
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Mar 28, 2024
1 parent 2fe5fbd commit 9d01fa2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/parser/shared/metrics/apl/conditions/buffSoonPresent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ type BuffInformation = {

type SourceOptions = 'player' | 'external' | 'any';

/**
* Check if a buff will be present soon after the present time.
*
* This should ONLY be used for buffs that the player has complete control over, such as buffs tied to cooldown use.
* DO NOT use this to "look ahead" for random procs to implement impossibly optimal APLs.
*/
export function buffSoonPresent(
spell: Spell,
range: Range,
Expand Down

0 comments on commit 9d01fa2

Please sign in to comment.