Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2cf2684
commit 30fde07
Showing
5 changed files
with
37 additions
and
24 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
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 |