Skip to content

Commit

Permalink
Merge pull request #12 from martinlindhe/spawnBuff
Browse files Browse the repository at this point in the history
spawn datatype: adjust Buff to return a spell
  • Loading branch information
johnfking committed Sep 15, 2022
2 parents cef6193 + 2c72f83 commit 8a547c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datatype/_spawn.lua
Expand Up @@ -14,7 +14,7 @@
--- @field public Binding fun(): boolean Binding wounds?
--- @field public Blind fun(): number Blind? Not sure why this is a number?
--- @field public Body body Body type
--- @field public Buff fun(name: string): string
--- @field public Buff fun(name: string): spell Buff spell
--- @field public bShowHelm fun(): boolean Showing Helm?
--- @field public bStationary fun(): boolean Stationary spawn? Not to be confused with "Moving"
--- @field public bTempPet fun(): boolean Is the spawn a Temporary Pet?
Expand Down
2 changes: 1 addition & 1 deletion datatype/_target.lua
Expand Up @@ -2,7 +2,7 @@
--- @field public Aego cachedbuff|fun(): string Returns the name of the Aego spell if the Target has one
--- @field public AggroHolder spawn|fun(): spawn Returns the target's current target.
--- @field public Beneficial cachedbuff|fun(): string Returns the name of the Beneficial spell if the Target has one. This will skip "player" casted buffs, but will show NPC Casted buffs and some AA buffs.
--- @field public Buff cachedbuff|fun(): cachedbuff Returns the target's spell by buff index number or the first buff if no Index is provided.
--- @field public Buff cachedbuff|fun(name?: string|integer): cachedbuff Returns the target's spell by buff index number or the first buff if no Index is provided.
--- @field public BuffCount fun(): integer Returns the number of buffs on the target.
--- @field public BuffDuration timestamp|fun(val:string|integer): timestamp Returns the duration remaining on this target buff by index number or by spell name
--- @field public BuffsPopulated fun(): boolean Returns TRUE when the target's buffs are finished populating.
Expand Down

0 comments on commit 8a547c7

Please sign in to comment.