Stats¶
The file holds functions and procedures that are related to the stats gametab
var Stats¶
Variable that stores functions and properties of the Runescape stats gametab.
Stats.IsOpen¶
function TRSStats.IsOpen(maxWait:Int32=0): Boolean;
Checks if the interface is already open.
stats.SkillIsVaild¶
function TRSStats.IsSkillVaild(Skill:Int32): Boolean;
Stats.GetSkillBox¶
function TRSStats.GetSkillBox(Skill:Int32): TBox;
Returns the bounding box covering the given skill-index.
Stats.MouseOver¶
function TRSStats.MouseOver(skill:Int32): Boolean;
Moves the mouse over the given skill-index.
Stats.GetCurrentLevel¶
function TRSStats.GetCurrentLevel(Skill:Int32);
Returns the current level of a skill, handy for task that require prayer.
Returns -1 on failure.
Stats.GetSkillInfo¶
function TRSStats.GetSkillInfo(skill:Int32): TSkillInfo;
Returns the level info: “Level”, “xp”, “next level at” and “remainder”
Stats.HoverSkill¶
function TRSStats.HoverSkill(Skill: Int32; HoverTime: Double; ReturnToCurrentTab: Boolean = True): TSkillInfo;
Holds the mouse over the given skill. Returns skill info, in case you care about it.