Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion mq/datatype/_auratype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
---@class auratype Describes an auratype
---@field public ID MQInt ID of the Aura
---@field public Name MQString Name of the Aura
---@field public SpawnID MQInt ID of the spawn that emits aura
---@field public SpawnID MQInt ID of the spawn that emits aura
local auratype = nil

---Removes the aura by index or name
function auratype.Remove() end
17 changes: 11 additions & 6 deletions mq/datatype/_character.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@
---@field public Exp MQFloat #Experience (out of 10,000)
---@field public ExpansionFlags MQFloat #Returns a numeric number representing which expansions your toon is flagged for
---@field public Faycites MQFloat # Faycites on your character
---@field public Feared MQBuff #Returns the Fear effect on you
---@field public Fellowship MQFellowship # Info about Fellowship
---@field public FreeBuffSlots MQFloat #Number of open buff slots (not counting the short duration buff slots)
---@field public Gold MQFloat #Gold on character
---@field public GoldBank MQFloat #Gold in bank
---@field public GroupAssistTarget MQTarget #The target of the Group Main Assist
---@field public Grouped MQBoolean #Grouped?
---@field public GroupLeaderExp MQFloat #Group leadership experience (out of 330)
---@field public GroupLeaderPoints MQFloat #Group leadership points
Expand Down Expand Up @@ -125,7 +127,7 @@
---@field public MaxMana MQFloat #Max mana
---@field public Mercenary MQMercenary #The state of your Mercenary, "DEAD", "SUSPENDED", "ACTIVE", or "UNKNOWN". Returns nil if you do not have a Mercenary.
---@field public MercenaryStance MQString #Current active mercenary stance as a string, default is nil.
---@field public Mezzed MQString #Returns the name of the first mez on the character
---@field public Mezzed MQBuff #Returns the name of the first mez on the character
---@field public MirEarned MQFloat #Total LDoN points earned in Miragul's
---@field public MMEarned MQFloat #Total LDoN points earned in Mistmoore
---@field public Moving MQBoolean #Moving? (including strafe)
Expand Down Expand Up @@ -194,6 +196,7 @@
---@field public TargetOfTarget MQTarget Target of Target (will only work when group or raid Target of Target is active; if not, it will return NULL)
---@field public Tashed MQBuff #Returns the name of any Poison spell
---@field public Thirst MQFloat #Thirst level
---@field public TotalCounters MQFloat #Number of counters you have total
---@field public Trader MQBoolean #if you are an active Trader
---@field public TributeActive MQBoolean #Tribute Active
---@field public TributeTimer ticks Tribute Timer
Expand Down Expand Up @@ -291,11 +294,11 @@ function character.AltCurrency(name) end

---@diagnostic disable: duplicate-set-field
---@param index integer|string # The aura index
---@return MQSpell # The aura spell object at the given index
---@return auratype # The aura spell object at the given index
function character.Aura(index) end

---@param name string # The aura name to check for
---@return MQSpell # The aura spell object for the given name
---@return auratype # The aura spell object for the given name
function character.Aura(name) end

---@diagnostic enable: duplicate-set-field
Expand Down Expand Up @@ -476,9 +479,6 @@ function character.PetBuff(slotNumber) end

---@diagnostic enable: duplicate-set-field

---@return spawn
function character.GroupAssistTarget() end

---@param index integer|string # Current raid assist target (1-3)
---@return spawn
function character.RaidAssistTarget(index) end
Expand Down Expand Up @@ -518,6 +518,11 @@ function character.Song(name) end
---@return MQBuff
function character.Song(slotNumber) end


---@param name string
---@return spell # The ranked version of the spell you have scribed
function character.Spell(name) end

---@diagnostic enable: duplicate-set-field

---@diagnostic disable: duplicate-set-field
Expand Down
2 changes: 1 addition & 1 deletion mq/datatype/_pet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---@diagnostic disable: duplicate-set-field
---@class pet : spawn
---@field Combat MQBoolean #Combat state
---@field Ghold MQBoolean #GHold state
---@field GHold MQBoolean #GHold state
---@field Hold MQBoolean #Hold state
---@field ReGroup MQBoolean #ReGroup state
---@field Stance MQString #Returns the pet's current stance (e.g. FOLLOW, GUARD)
Expand Down
1 change: 1 addition & 0 deletions mq/datatype/_spawn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
---@field public Heading heading # Heading in this direction
---@field public HeadingTo heading # Heading player must travel in to reach this spawn
---@field public HeadingToLoc heading # Heading to the coordinates y,x from the spawn
---@field public HeadWet MQBoolean # submersed/swimming?
---@field public Height MQFloat # Height
---@field public Holding MQFloat # Represents what the pc/npc is holding
---@field public HoldingAnimation MQInt
Expand Down
1 change: 1 addition & 0 deletions mq/datatype/_target.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
--- @field public Regen MQCachedBuff # Returns the name of the Regen spell if the Target has one
--- @field public RevDSed MQCachedBuff # Returns the name of the Reverse Damage Shield spell if the Target has one
--- @field public SE MQCachedBuff # Returns the name of the Spiritual Enlightenment spell if the Target has one
--- @field public SecondaryPctAggro MQInt # Returns the % Aggro of the second position on the Aggro list of this Target
--- @field public Shining MQCachedBuff # Returns the name of the Shining spell if the Target has one
--- @field public Skin MQCachedBuff # Returns the name of the Skin spell if the Target has one
--- @field public Slowed MQCachedBuff # Returns the name of the Slow spell if the Target has one
Expand Down