Skip to content

Commit

Permalink
Update BlockedPetBuffs on Character (#77)
Browse files Browse the repository at this point in the history
The fn doesn't accept a spell id, it accepts an index into the blocked pet buffs array
  • Loading branch information
SonicZentropy authored Mar 17, 2024
1 parent 09bd507 commit af5f55e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions mq/datatype/_character.lua
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,6 @@ function character.Bank(slot) end
---@return MQItem
function character.SharedBank(slot) end

---@diagnostic disable: duplicate-set-field
---@param spellId integer # Spell ID
---@return spell
function character.BlockedPetBuff(spellId) end

---@param spellId integer # Spell ID
---@return spell
function character.BlockedBuff(spellId) end
Expand All @@ -323,9 +318,9 @@ function character.BlockedBuff(spellId) end
function character.BlockedBuff(spellName) end

---@diagnostic enable: duplicate-set-field
---@param spellId integer # Spell ID
---@param slotNumber integer # Index into pet blocked buffs list
---@return spell
function character.BlockedPetBuff(spellId) end
function character.BlockedPetBuff(slotNumber) end

---@param spellName string # Spell Name
---@return spell
Expand Down

0 comments on commit af5f55e

Please sign in to comment.