Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from projecteon/master
Added more fixes
- Loading branch information
Showing
19 changed files
with
278 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
---@class class | ||
---@field public CanCast boolean Can cast seplls, including Bard | ||
---@field public ClericType boolean Cleric/Paladin? | ||
---@field public DruidType boolean Druid/Ranger? | ||
---@field public HealerType boolean Cleric/Druid/Shaman? | ||
---@field public ID number The class's ID # | ||
---@field public MercType boolean Mercenary? | ||
---@field public Name string The long name, as in "Ranger" | ||
---@field public NecromancerType boolean Necromancer/Shadow Knight? | ||
---@field public PureCaster boolean Any one of: Cleric, Druid, Shaman, Necromancer, Wizard, Mage, Enchanter | ||
---@field public ShamanType boolean Shaman/Beastlord? | ||
---@field public ShortName string The short name as in "RNG" | ||
---@field public CanCast fun(): boolean Can cast seplls, including Bard | ||
---@field public ClericType fun(): boolean Cleric/Paladin? | ||
---@field public DruidType fun(): boolean Druid/Ranger? | ||
---@field public HealerType fun(): boolean Cleric/Druid/Shaman? | ||
---@field public ID fun(): integer The class's ID # | ||
---@field public MercType fun(): boolean Mercenary? | ||
---@field public Name fun(): string The long name, as in "Ranger" | ||
---@field public NecromancerType fun(): boolean Necromancer/Shadow Knight? | ||
---@field public PureCaster fun(): boolean Any one of: Cleric, Druid, Shaman, Necromancer, Wizard, Mage, Enchanter | ||
---@field public ShamanType fun(): boolean Shaman/Beastlord? | ||
---@field public ShortName fun(): string The short name as in "RNG" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- @class invslot | ||
--- @field public ID number ID of this item slot (usable directly by /itemnotify) | ||
--- @field public ID fun(): integer ID of this item slot (usable directly by /itemnotify) | ||
--- @field public Item item Item data for the item in this slot | ||
--- @field public Name string For inventory slots not inside packs, the slot name, otherwise NULL | ||
--- @field public Name fun(): string For inventory slots not inside packs, the slot name, otherwise NULL | ||
--- @field public Pack invslot Container that must be opened to access the slot with /itemnotify | ||
--- @field public Slot number Slot number inside the pack which holds the item, otherwise NULL | ||
--- @field public ToString number Same as ID | ||
--- @field public Slot fun(): integer Slot number inside the pack which holds the item, otherwise NULL | ||
--- @field public ToString fun(): string Same as ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- @class plugin | ||
--- @field public Name string Name of the plugin | ||
--- @field public Name fun(): string Name of the plugin | ||
--- @field public Version float Version number of the plugin | ||
--- @field public ToString string Same as Name | ||
--- @field public ToString fun(): string Same as Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- @class race | ||
--- @field public ID number The ID of the race | ||
--- @field public Name string The name of the race | ||
--- @field public ToString string The name of the race | ||
--- @field public ID fun(): integer The ID of the race | ||
--- @field public Name fun(): string The name of the race | ||
--- @field public ToString fun(): string The name of the race |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
--- @class range | ||
--- @field public Between boolean is n Between the range of #1 and #2 both numbers included | ||
--- @field public Inside boolean is n Inside the range of #1 and #2 both number excluded | ||
range = nil | ||
|
||
----True if N is between the range of #1 and #2, inclusive. | ||
----Is 50 between 33 and 66? ${Range.Between[33,66:50]} returns TRUE | ||
---@param n integer | ||
---@param range string | ||
---@return boolean is n Between the range of #1 and #2 both numbers included | ||
function range.Between(n, range) end | ||
|
||
----True if N is within the range of #1 and #2, exclusive. | ||
----Is 50 Inside 33 and 66? ${Range.Inside[33,66:50]} returns TRUE | ||
---@param n integer | ||
---@param range string | ||
---@return boolean is n Inside the range of #1 and #2 both number excluded | ||
function range.Inside(n, range) end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- @class skill | ||
--- @field public Activated boolean Returns TRUE if the skill has been activated | ||
--- @field public AltTimer boolean Returns TRUE if the skill uses the kick/bash/slam/backstab/frenzy timer | ||
--- @field public Activated fun(): boolean Returns TRUE if the skill has been activated | ||
--- @field public AltTimer fun(): boolean Returns TRUE if the skill uses the kick/bash/slam/backstab/frenzy timer | ||
--- @field public ID number Skill number | ||
--- @field public MinLevel number Minimum level for your class | ||
--- @field public Name string Name of the skill | ||
--- @field public ReuseTime number Reuse timer (what number format? ticks, seconds, deciseconds?) | ||
--- @field public SkillCap number Skill cap based on your current level and class. | ||
--- @field public StartingSkill number Base skill level for your class | ||
--- @field public ToString string Same as Name | ||
--- @field public MinLevel fun(): integer Minimum level for your class | ||
--- @field public Name fun(): string Name of the skill | ||
--- @field public ReuseTime fun(): number Reuse timer (what number format? ticks, seconds, deciseconds?) | ||
--- @field public SkillCap fun(): integer Skill cap based on your current level and class. | ||
--- @field public StartingSkill fun(): integer Base skill level for your class | ||
--- @field public ToString fun(): string Same as Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
--- @class time | ||
--- @field public Date string Date in the format MM/DD/YYYY | ||
--- @field public Day number Day of the month | ||
--- @field public DayOfWeek number Day of the week (1=sunday to 7=saturday) | ||
--- @field public Hour number Hour (0-23) | ||
--- @field public Minute number Minute (0-59) | ||
--- @field public Month number Month of the year (1-12) | ||
--- @field public Night boolean Gives true if the current hour is considered "night" in EQ (7:00pm-6:59am) | ||
--- @field public Second number Second (0-59) | ||
--- @field public SecondsSinceMidnight number Number of seconds since midnight | ||
--- @field public Time12 string Time in 12-hour format (HH:MM:SS) | ||
--- @field public Time24 string Time in 24-hour format (HH:MM:SS) | ||
--- @field public Year number Year | ||
--- @field public ToString string Same as Time24 | ||
--- @field public Date fun(): string #Date in the format MM/DD/YYYY | ||
--- @field public Day fun(): integer #Day of the month | ||
--- @field public DayOfWeek fun(): integer #Day of the week (1=sunday to 7=saturday) | ||
--- @field public Hour fun(): integer #Hour (0-23) | ||
--- @field public Minute fun(): integer #Minute (0-59) | ||
--- @field public Month fun(): integer #Month of the year (1-12) | ||
--- @field public Night fun(): boolean #Gives true if the current hour is considered "night" in EQ (7:00pm-6:59am) | ||
--- @field public Second fun(): integer #Second (0-59) | ||
--- @field public SecondsSinceMidnight fun(): number #Number of seconds since midnight | ||
--- @field public Time12 fun(): string #Time in 12-hour format (HH:MM:SS) | ||
--- @field public Time24 fun(): string #Time in 24-hour format (HH:MM:SS) | ||
--- @field public Year fun(): integer #Year | ||
--- @field public ToString fun(): string #Same as Time24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- @class mqtype | ||
--- @field public Name fun(): string Type name | ||
--- @field public ToString fun(): string Same as Name | ||
mqtype = nil | ||
|
||
---@param id integer # Internal ID number | ||
---@return string # Member name based on an internal ID number (based on 1 through N, not all values will be used) | ||
function mqtype.Member(id) end | ||
|
||
---@param name string | ||
---@return integer # Member internal ID number based on name (will be a number from 1 to N) | ||
function mqtype.Member(name) end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- @class zone | ||
--- @field public ID number ID of the zone | ||
--- @field public Name string Full zone name | ||
--- @field public ShortName string Short zone name | ||
--- @field public ToString string Same as Name | ||
--- @field public ID fun(): integer ID of the zone | ||
--- @field public Name fun(): string Full zone name | ||
--- @field public ShortName fun(): string Short zone name | ||
--- @field public ToString fun(): string Same as Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.